| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Address Type Definition
BLUENRG1 Peripheral Driver » I2C Peripheral » Exported Constants

## Macros

#define | I2C_AddressType_GeneralCall ((uint16_t)0x0000)
#define | I2C_AddressType_7Bit ((uint16_t)0x1000)
#define | I2C_AddressType_10Bit ((uint16_t)0x2000)
#define | IS_I2C_ADDRESSTYPE(AT)

## Detailed Description

## Macro Definition Documentation

#define I2C_AddressType_10Bit ((uint16_t)0x2000)

10-bit address type

Definition at line 210 of file BlueNRG1_i2c.h.

#define I2C_AddressType_7Bit ((uint16_t)0x1000)

7-bit address type

Definition at line 209 of file BlueNRG1_i2c.h.

#define I2C_AddressType_GeneralCall ((uint16_t)0x0000)

General call address type

Definition at line 208 of file BlueNRG1_i2c.h.

#define IS_I2C_ADDRESSTYPE | ( |  | AT | ) |

Value:
(((AT) == I2C_AddressType_GeneralCall) || \
((AT) == I2C_AddressType_7Bit) || \
((AT) == I2C_AddressType_10Bit))
I2C_AddressType_7Bit
#define I2C_AddressType_7Bit
Definition: BlueNRG1_i2c.h:209
I2C_AddressType_GeneralCall
#define I2C_AddressType_GeneralCall
Definition: BlueNRG1_i2c.h:208
I2C_AddressType_10Bit
#define I2C_AddressType_10Bit
Definition: BlueNRG1_i2c.h:210

This macro checks if AT is a valid address type

Definition at line 213 of file BlueNRG1_i2c.h.