STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
I2C_transfer_direction

Macros

#define I2C_Direction_Transmitter   ((uint8_t)0x00)
 
#define I2C_Direction_Receiver   ((uint8_t)0x01)
 
#define IS_I2C_DIRECTION(DIRECTION)
 

Detailed Description

Macro Definition Documentation

#define IS_I2C_DIRECTION (   DIRECTION)
Value:
(((DIRECTION) == I2C_Direction_Transmitter) || \
((DIRECTION) == I2C_Direction_Receiver))