STM32F10x Standard Peripherals Library  3.5.0
I2C_registers

Defines

#define I2C_Register_CR1   ((uint8_t)0x00)
#define I2C_Register_CR2   ((uint8_t)0x04)
#define I2C_Register_OAR1   ((uint8_t)0x08)
#define I2C_Register_OAR2   ((uint8_t)0x0C)
#define I2C_Register_DR   ((uint8_t)0x10)
#define I2C_Register_SR1   ((uint8_t)0x14)
#define I2C_Register_SR2   ((uint8_t)0x18)
#define I2C_Register_CCR   ((uint8_t)0x1C)
#define I2C_Register_TRISE   ((uint8_t)0x20)
#define IS_I2C_REGISTER(REGISTER)

Define Documentation

#define I2C_Register_CCR   ((uint8_t)0x1C)

Definition at line 155 of file stm32f10x_i2c.h.

#define I2C_Register_CR1   ((uint8_t)0x00)

Definition at line 148 of file stm32f10x_i2c.h.

#define I2C_Register_CR2   ((uint8_t)0x04)

Definition at line 149 of file stm32f10x_i2c.h.

#define I2C_Register_DR   ((uint8_t)0x10)

Definition at line 152 of file stm32f10x_i2c.h.

#define I2C_Register_OAR1   ((uint8_t)0x08)

Definition at line 150 of file stm32f10x_i2c.h.

#define I2C_Register_OAR2   ((uint8_t)0x0C)

Definition at line 151 of file stm32f10x_i2c.h.

#define I2C_Register_SR1   ((uint8_t)0x14)

Definition at line 153 of file stm32f10x_i2c.h.

#define I2C_Register_SR2   ((uint8_t)0x18)

Definition at line 154 of file stm32f10x_i2c.h.

#define I2C_Register_TRISE   ((uint8_t)0x20)

Definition at line 156 of file stm32f10x_i2c.h.

#define IS_I2C_REGISTER (   REGISTER)
Value:
(((REGISTER) == I2C_Register_CR1) || \
                                   ((REGISTER) == I2C_Register_CR2) || \
                                   ((REGISTER) == I2C_Register_OAR1) || \
                                   ((REGISTER) == I2C_Register_OAR2) || \
                                   ((REGISTER) == I2C_Register_DR) || \
                                   ((REGISTER) == I2C_Register_SR1) || \
                                   ((REGISTER) == I2C_Register_SR2) || \
                                   ((REGISTER) == I2C_Register_CCR) || \
                                   ((REGISTER) == I2C_Register_TRISE))

Definition at line 157 of file stm32f10x_i2c.h.