STM32F10x Standard Peripherals Library  3.5.0
I2C_mode

Defines

#define I2C_Mode_I2C   ((uint16_t)0x0000)
#define I2C_Mode_SMBusDevice   ((uint16_t)0x0002)
#define I2C_Mode_SMBusHost   ((uint16_t)0x000A)
#define IS_I2C_MODE(MODE)

Define Documentation

#define I2C_Mode_I2C   ((uint16_t)0x0000)

Definition at line 86 of file stm32f10x_i2c.h.

#define I2C_Mode_SMBusDevice   ((uint16_t)0x0002)

Definition at line 87 of file stm32f10x_i2c.h.

#define I2C_Mode_SMBusHost   ((uint16_t)0x000A)

Definition at line 88 of file stm32f10x_i2c.h.

#define IS_I2C_MODE (   MODE)
Value:
(((MODE) == I2C_Mode_I2C) || \
                           ((MODE) == I2C_Mode_SMBusDevice) || \
                           ((MODE) == I2C_Mode_SMBusHost))

Definition at line 89 of file stm32f10x_i2c.h.