Prusa MINI Firmware overview
I2C_HandleTypeDef Struct Reference

I2C handle Structure definition. More...

#include <stm32f4xx_hal_i2c.h>

Collaboration diagram for I2C_HandleTypeDef:

Public Attributes

I2C_TypeDef * Instance
 
I2C_InitTypeDef Init
 
uint8_tpBuffPtr
 
uint16_t XferSize
 
__IO uint16_t XferCount
 
__IO uint32_t XferOptions
 
__IO uint32_t PreviousState
 
DMA_HandleTypeDefhdmatx
 
DMA_HandleTypeDefhdmarx
 
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
 

Detailed Description

I2C handle Structure definition.

Member Data Documentation

◆ Instance

I2C_TypeDef* I2C_HandleTypeDef::Instance

I2C registers base address

◆ Init

I2C_InitTypeDef I2C_HandleTypeDef::Init

I2C communication parameters

◆ pBuffPtr

uint8_t* I2C_HandleTypeDef::pBuffPtr

Pointer to I2C transfer buffer

◆ XferSize

uint16_t I2C_HandleTypeDef::XferSize

I2C transfer size

◆ XferCount

__IO uint16_t I2C_HandleTypeDef::XferCount

I2C transfer counter

◆ XferOptions

__IO uint32_t I2C_HandleTypeDef::XferOptions

I2C transfer options

◆ PreviousState

__IO uint32_t I2C_HandleTypeDef::PreviousState

I2C communication Previous state and mode context for internal usage

◆ hdmatx

DMA_HandleTypeDef* I2C_HandleTypeDef::hdmatx

I2C Tx DMA handle parameters

◆ hdmarx

DMA_HandleTypeDef* I2C_HandleTypeDef::hdmarx

I2C Rx DMA handle parameters

◆ Lock

HAL_LockTypeDef I2C_HandleTypeDef::Lock

I2C locking object

◆ State

__IO HAL_I2C_StateTypeDef I2C_HandleTypeDef::State

I2C communication state

◆ Mode

__IO HAL_I2C_ModeTypeDef I2C_HandleTypeDef::Mode

I2C communication mode

◆ ErrorCode

__IO uint32_t I2C_HandleTypeDef::ErrorCode

I2C Error code

◆ Devaddress

__IO uint32_t I2C_HandleTypeDef::Devaddress

I2C Target device address

◆ Memaddress

__IO uint32_t I2C_HandleTypeDef::Memaddress

I2C Target memory address

◆ MemaddSize

__IO uint32_t I2C_HandleTypeDef::MemaddSize

I2C Target memory address size

◆ EventCount

__IO uint32_t I2C_HandleTypeDef::EventCount

I2C Event counter