STM32F10x Standard Peripherals Library  3.5.0
I2C_transfer_direction

Defines

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

Define Documentation

#define I2C_Direction_Receiver   ((uint8_t)0x01)

Definition at line 125 of file stm32f10x_i2c.h.

#define I2C_Direction_Transmitter   ((uint8_t)0x00)

Definition at line 124 of file stm32f10x_i2c.h.

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

Definition at line 126 of file stm32f10x_i2c.h.