| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Stop Condition Definition
BLUENRG1 Peripheral Driver » I2C Peripheral » Exported Constants

## Macros

#define | I2C_StopCondition_Disable ((uint16_t)0x0000)
#define | I2C_StopCondition_Enable ((uint16_t)0x4000)
#define | IS_I2C_STOPCONDITION(P)
#define | IS_I2C_LENGTH(P) ((P) <= 0x7FF)

## Detailed Description

## Macro Definition Documentation

#define I2C_StopCondition_Disable ((uint16_t)0x0000)

Disables the stop condition

Definition at line 225 of file BlueNRG1_i2c.h.

#define I2C_StopCondition_Enable ((uint16_t)0x4000)

Enables the stop condition

Definition at line 226 of file BlueNRG1_i2c.h.

#define IS_I2C_LENGTH | ( |  | P | ) | ((P) <= 0x7FF)

Definition at line 232 of file BlueNRG1_i2c.h.

#define IS_I2C_STOPCONDITION | ( |  | P | ) |

Value:
(((P) == I2C_StopCondition_Disable) || \
((P) == I2C_StopCondition_Enable))
I2C_StopCondition_Enable
#define I2C_StopCondition_Enable
Definition: BlueNRG1_i2c.h:226
I2C_StopCondition_Disable
#define I2C_StopCondition_Disable
Definition: BlueNRG1_i2c.h:225

This macro checks if P is a valid stop condition

Definition at line 229 of file BlueNRG1_i2c.h.