I2C_transfer_direction
[I2C_Exported_Constants]

Defines

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

Define Documentation

#define I2C_Direction_Receiver   ((uint8_t)0x01)
#define I2C_Direction_Transmitter   ((uint8_t)0x00)
#define IS_I2C_DIRECTION ( DIRECTION   ) 
Value:
(((DIRECTION) == I2C_Direction_Transmitter) || \
                                     ((DIRECTION) == I2C_Direction_Receiver))

Definition at line 125 of file stm32f10x_i2c.h.

Referenced by I2C_Send7bitAddress().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32