UM1940
__IO uint32_t PreviousState
DMA_HandleTypeDef * hdmatx
DMA_HandleTypeDef * hdmarx
HAL_LockTypeDef Lock
__IO HAL_I2C_StateTypeDef State
__IO HAL_I2C_ModeTypeDef Mode
__IO uint32_t ErrorCode
__IO uint32_t Devaddress
__IO uint32_t Memaddress
__IO uint32_t MemaddSize
__IO uint32_t EventCount
Field Documentation
I2C_TypeDef* I2C_HandleTypeDef::Instance
I2C registers base address
I2C_InitTypeDef I2C_HandleTypeDef::Init
I2C communication parameters
uint8_t* I2C_HandleTypeDef::pBuffPtr
Pointer to I2C transfer buffer
uint16_t I2C_HandleTypeDef::XferSize
I2C transfer size
__IO uint16_t I2C_HandleTypeDef::XferCount
I2C transfer counter
__IO uint32_t I2C_HandleTypeDef::XferOptions
I2C transfer options
__IO uint32_t I2C_HandleTypeDef::PreviousState
I2C communication Previous state and mode context for internal usage
DMA_HandleTypeDef* I2C_HandleTypeDef::hdmatx
I2C Tx DMA handle parameters
DMA_HandleTypeDef* I2C_HandleTypeDef::hdmarx
I2C Rx DMA handle parameters
HAL_LockTypeDef I2C_HandleTypeDef::Lock
I2C locking object
__IO HAL_I2C_StateTypeDef I2C_HandleTypeDef::State
I2C communication state
__IO HAL_I2C_ModeTypeDef I2C_HandleTypeDef::Mode
I2C communication mode
__IO uint32_t I2C_HandleTypeDef::ErrorCode
I2C Error code
__IO uint32_t I2C_HandleTypeDef::Devaddress
I2C Target device address
__IO uint32_t I2C_HandleTypeDef::Memaddress
I2C Target memory address
__IO uint32_t I2C_HandleTypeDef::MemaddSize
I2C Target memory address size
__IO uint32_t I2C_HandleTypeDef::EventCount
I2C Event counter
24.2
I2C Firmware driver API description
24.2.1
How to use this driver
The I2C HAL driver can be used as follows:
DocID028236 Rev 2
HAL I2C Generic Driver
289/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?