STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
__I2C_HandleTypeDef Struct Reference

#include <stm32h7xx_hal_i2c.h>

Collaboration diagram for __I2C_HandleTypeDef:
[legend]

Public Attributes

I2C_TypeDef * Instance
 I2C registers base address.
I2C_InitTypeDef Init
 I2C communication parameters.
uint8_t * pBuffPtr
 Pointer to I2C transfer buffer.
uint16_t XferSize
 I2C transfer size.
__IO uint16_t XferCount
 I2C transfer counter.
__IO uint32_t XferOptions
 I2C sequantial transfer options, this parameter can be a value of I2C Sequential Transfer Options.
__IO uint32_t PreviousState
 I2C communication Previous state.
HAL_StatusTypeDef(* XferISR )(struct __I2C_HandleTypeDef *hi2c, uint32_t ITFlags, uint32_t ITSources)
 I2C transfer IRQ handler function pointer.
DMA_HandleTypeDef * hdmatx
 I2C Tx DMA handle parameters.
DMA_HandleTypeDef * hdmarx
 I2C Rx DMA handle parameters.
HAL_LockTypeDef Lock
 I2C locking object.
__IO HAL_I2C_StateTypeDef State
 I2C communication state.
__IO HAL_I2C_ModeTypeDef Mode
 I2C communication mode.
__IO uint32_t ErrorCode
 I2C Error code.
__IO uint32_t AddrEventCount
 I2C Address Event counter.
__IO uint32_t Devaddress
 I2C Target device address.
__IO uint32_t Memaddress
 I2C Target memory address.

Detailed Description

Definition at line 184 of file stm32h7xx_hal_i2c.h.

Member Data Documentation

◆ AddrEventCount

__IO uint32_t __I2C_HandleTypeDef::AddrEventCount

I2C Address Event counter.

Definition at line 217 of file stm32h7xx_hal_i2c.h.

◆ Devaddress

__IO uint32_t __I2C_HandleTypeDef::Devaddress

I2C Target device address.

Definition at line 219 of file stm32h7xx_hal_i2c.h.

◆ ErrorCode

__IO uint32_t __I2C_HandleTypeDef::ErrorCode

I2C Error code.

Definition at line 215 of file stm32h7xx_hal_i2c.h.

◆ hdmarx

DMA_HandleTypeDef* __I2C_HandleTypeDef::hdmarx

I2C Rx DMA handle parameters.

Definition at line 206 of file stm32h7xx_hal_i2c.h.

◆ hdmatx

DMA_HandleTypeDef* __I2C_HandleTypeDef::hdmatx

I2C Tx DMA handle parameters.

Definition at line 204 of file stm32h7xx_hal_i2c.h.

◆ Init

I2C_InitTypeDef __I2C_HandleTypeDef::Init

I2C communication parameters.

Definition at line 188 of file stm32h7xx_hal_i2c.h.

◆ Instance

I2C_TypeDef* __I2C_HandleTypeDef::Instance

I2C registers base address.

Definition at line 186 of file stm32h7xx_hal_i2c.h.

Referenced by HAL_I2C_MspDeInit(), and HAL_I2C_MspInit().

◆ Lock

HAL_LockTypeDef __I2C_HandleTypeDef::Lock

I2C locking object.

Definition at line 209 of file stm32h7xx_hal_i2c.h.

◆ Memaddress

__IO uint32_t __I2C_HandleTypeDef::Memaddress

I2C Target memory address.

Definition at line 221 of file stm32h7xx_hal_i2c.h.

◆ Mode

__IO HAL_I2C_ModeTypeDef __I2C_HandleTypeDef::Mode

I2C communication mode.

Definition at line 213 of file stm32h7xx_hal_i2c.h.

◆ pBuffPtr

uint8_t* __I2C_HandleTypeDef::pBuffPtr

Pointer to I2C transfer buffer.

Definition at line 190 of file stm32h7xx_hal_i2c.h.

◆ PreviousState

__IO uint32_t __I2C_HandleTypeDef::PreviousState

I2C communication Previous state.

Definition at line 199 of file stm32h7xx_hal_i2c.h.

◆ State

__IO HAL_I2C_StateTypeDef __I2C_HandleTypeDef::State

I2C communication state.

Definition at line 211 of file stm32h7xx_hal_i2c.h.

◆ XferCount

__IO uint16_t __I2C_HandleTypeDef::XferCount

I2C transfer counter.

Definition at line 194 of file stm32h7xx_hal_i2c.h.

◆ XferISR

HAL_StatusTypeDef(* __I2C_HandleTypeDef::XferISR) (struct __I2C_HandleTypeDef *hi2c, uint32_t ITFlags, uint32_t ITSources)

I2C transfer IRQ handler function pointer.

Definition at line 201 of file stm32h7xx_hal_i2c.h.

◆ XferOptions

__IO uint32_t __I2C_HandleTypeDef::XferOptions

I2C sequantial transfer options, this parameter can be a value of I2C Sequential Transfer Options.

Definition at line 196 of file stm32h7xx_hal_i2c.h.

◆ XferSize

uint16_t __I2C_HandleTypeDef::XferSize

I2C transfer size.

Definition at line 192 of file stm32h7xx_hal_i2c.h.


The documentation for this struct was generated from the following file: