| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Start Byte Definition
BLUENRG1 Peripheral Driver » I2C Peripheral » Exported Constants

## Macros

#define | I2C_StartByte_Disable ((uint16_t)0x0000)
#define | I2C_StartByte_Enable ((uint16_t)0x0800)
#define | IS_I2C_STARTBYTE(SB)

## Detailed Description

## Macro Definition Documentation

#define I2C_StartByte_Disable ((uint16_t)0x0000)

Disables the start byte

Definition at line 193 of file BlueNRG1_i2c.h.

#define I2C_StartByte_Enable ((uint16_t)0x0800)

Enables the start byte

Definition at line 194 of file BlueNRG1_i2c.h.

#define IS_I2C_STARTBYTE | ( |  | SB | ) |

Value:
(((SB) == I2C_StartByte_Disable) || \
((SB) == I2C_StartByte_Enable))
I2C_StartByte_Enable
#define I2C_StartByte_Enable
Definition: BlueNRG1_i2c.h:194
I2C_StartByte_Disable
#define I2C_StartByte_Disable
Definition: BlueNRG1_i2c.h:193

This macro checks if SB is a valid StartByte value

Definition at line 197 of file BlueNRG1_i2c.h.