EasyManua.ls Logo

ST STM32F31xx - Inter-integrated Circuit Interface (I2 C) Firmware Driver

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM1581
Inter-integrated circuit interface (I2C)
DocID023800 Rev 1
247/584
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
I2C Control register 1, Address offset: 0x00
__IO uint32_t I2C_TypeDef::CR2
I2C Control register 2, Address offset: 0x04
__IO uint32_t I2C_TypeDef::OAR1
I2C Own address 1 register, Address offset: 0x08
__IO uint32_t I2C_TypeDef::OAR2
I2C Own address 2 register, Address offset: 0x0C
__IO uint32_t I2C_TypeDef::TIMINGR
I2C Timing register, Address offset: 0x10
__IO uint32_t I2C_TypeDef::TIMEOUTR
I2C Timeout register, Address offset: 0x14
__IO uint32_t I2C_TypeDef::ISR
I2C Interrupt and status register, Address offset: 0x18
__IO uint32_t I2C_TypeDef::ICR
I2C Interrupt clear register, Address offset: 0x1C
__IO uint32_t I2C_TypeDef::PECR
I2C PEC register, Address offset: 0x20
__IO uint32_t I2C_TypeDef::RXDR
I2C Receive data register, Address offset: 0x24
__IO uint32_t I2C_TypeDef::TXDR
I2C Transmit data register, Address offset: 0x28

Table of Contents

Related product manuals