UM1581
13
Inter-integrated circuit interface (I2C)
13.1
I2C Firmware driver registers structures
13.1.1
I2C_TypeDef
I2C_TypeDef is defined in the stm32f30x.h
Data Fields
__IO uint32_t CR1
__IO uint32_t CR2
__IO uint32_t OAR1
__IO uint32_t OAR2
__IO uint32_t TIMINGR
__IO uint32_t TIMEOUTR
__IO uint32_t ISR
__IO uint32_t ICR
__IO uint32_t PECR
__IO uint32_t RXDR
__IO uint32_t TXDR
Field Documentation
__IO uint32_t I2C_TypeDef::CR1
__IO uint32_t I2C_TypeDef::CR2
__IO uint32_t I2C_TypeDef::OAR1
__IO uint32_t I2C_TypeDef::OAR2
__IO uint32_t I2C_TypeDef::TIMINGR
__IO uint32_t I2C_TypeDef::TIMEOUTR
__IO uint32_t I2C_TypeDef::ISR
__IO uint32_t I2C_TypeDef::ICR
__IO uint32_t I2C_TypeDef::PECR
__IO uint32_t I2C_TypeDef::RXDR
__IO uint32_t I2C_TypeDef::TXDR
I2C Control register 1, Address offset: 0x00
I2C Control register 2, Address offset: 0x04
I2C Own address 1 register, Address offset: 0x08
I2C Own address 2 register, Address offset: 0x0C
I2C Timing register, Address offset: 0x10
I2C Timeout register, Address offset: 0x14
I2C Interrupt and status register, Address offset: 0x18
I2C Interrupt clear register, Address offset: 0x1C
I2C PEC register, Address offset: 0x20
I2C Receive data register, Address offset: 0x24
I2C Transmit data register, Address offset: 0x28
DocID023800 Rev 1
Inter-integrated circuit interface (I2C)
247/584
Need help?
Do you have a question about the STM32F31xx and is the answer not in the manual?