STM32F479xx HAL User Manual
Data Fields
__SMBUS_HandleTypeDef Struct Reference

SMBUS handle Structure definition. More...

#include <stm32f4xx_hal_smbus.h>

Data Fields

I2C_TypeDef * Instance
SMBUS_InitTypeDef Init
uint8_t * pBuffPtr
uint16_t XferSize
__IO uint16_t XferCount
__IO uint32_t XferOptions
__IO uint32_t PreviousState
HAL_LockTypeDef Lock
__IO HAL_SMBUS_StateTypeDef State
__IO HAL_SMBUS_ModeTypeDef Mode
__IO uint32_t ErrorCode
__IO uint32_t Devaddress
__IO uint32_t EventCount
uint8_t XferPEC
void(* MasterTxCpltCallback )(struct __SMBUS_HandleTypeDef *hsmbus)
void(* MasterRxCpltCallback )(struct __SMBUS_HandleTypeDef *hsmbus)
void(* SlaveTxCpltCallback )(struct __SMBUS_HandleTypeDef *hsmbus)
void(* SlaveRxCpltCallback )(struct __SMBUS_HandleTypeDef *hsmbus)
void(* ListenCpltCallback )(struct __SMBUS_HandleTypeDef *hsmbus)
void(* MemTxCpltCallback )(struct __SMBUS_HandleTypeDef *hsmbus)
void(* MemRxCpltCallback )(struct __SMBUS_HandleTypeDef *hsmbus)
void(* ErrorCallback )(struct __SMBUS_HandleTypeDef *hsmbus)
void(* AbortCpltCallback )(struct __SMBUS_HandleTypeDef *hsmbus)
void(* AddrCallback )(struct __SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t AddrMatchCode)
void(* MspInitCallback )(struct __SMBUS_HandleTypeDef *hsmbus)
void(* MspDeInitCallback )(struct __SMBUS_HandleTypeDef *hsmbus)

Detailed Description

SMBUS handle Structure definition.

Definition at line 152 of file stm32f4xx_hal_smbus.h.


Field Documentation

SMBUS Abort callback

Definition at line 193 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), HAL_SMBUS_RegisterCallback(), HAL_SMBUS_UnRegisterCallback(), and SMBUS_ITError().

void(* __SMBUS_HandleTypeDef::AddrCallback)(struct __SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t AddrMatchCode)

SMBUS Slave Address Match callback

Definition at line 194 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), HAL_SMBUS_RegisterAddrCallback(), HAL_SMBUS_UnRegisterAddrCallback(), and SMBUS_Slave_ADDR().

SMBUS Target device address

Definition at line 178 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Master_Receive_IT(), HAL_SMBUS_Master_Transmit_IT(), SMBUS_Master_ADD10(), and SMBUS_Master_SB().

SMBUS Error callback

Definition at line 192 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), HAL_SMBUS_RegisterCallback(), HAL_SMBUS_UnRegisterCallback(), and SMBUS_ITError().

SMBUS Event counter

Definition at line 180 of file stm32f4xx_hal_smbus.h.

Referenced by SMBUS_Master_ADDR(), and SMBUS_Master_SB().

SMBUS communication parameters

Definition at line 156 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), HAL_SMBUS_Master_Abort_IT(), SMBUS_Master_ADDR(), SMBUS_Master_SB(), and SMBUS_Slave_ADDR().

HAL_LockTypeDef __SMBUS_HandleTypeDef::Lock

SMBUS locking object

Definition at line 170 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init().

SMBUS Master Rx Transfer completed callback

Definition at line 186 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), HAL_SMBUS_RegisterCallback(), HAL_SMBUS_UnRegisterCallback(), SMBUS_MasterReceive_BTF(), and SMBUS_MasterReceive_RXNE().

SMBUS Master Tx Transfer completed callback

Definition at line 185 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), HAL_SMBUS_RegisterCallback(), HAL_SMBUS_UnRegisterCallback(), SMBUS_MasterTransmit_BTF(), and SMBUS_MasterTransmit_TXE().

SMBUS Memory Rx Transfer completed callback

Definition at line 191 of file stm32f4xx_hal_smbus.h.

SMBUS Memory Tx Transfer completed callback

Definition at line 190 of file stm32f4xx_hal_smbus.h.

SMBUS Msp DeInit callback

Definition at line 196 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_DeInit(), HAL_SMBUS_RegisterCallback(), and HAL_SMBUS_UnRegisterCallback().

SMBUS Msp Init callback

Definition at line 195 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), HAL_SMBUS_RegisterCallback(), and HAL_SMBUS_UnRegisterCallback().

SMBUS Slave Rx Transfer completed callback

Definition at line 188 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), HAL_SMBUS_RegisterCallback(), HAL_SMBUS_UnRegisterCallback(), and SMBUS_SlaveReceive_RXNE().

SMBUS Slave Tx Transfer completed callback

Definition at line 187 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), HAL_SMBUS_RegisterCallback(), HAL_SMBUS_UnRegisterCallback(), and SMBUS_SlaveTransmit_TXE().

SMBUS PEC data in reception mode

Definition at line 182 of file stm32f4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Init(), SMBUS_MasterReceive_BTF(), SMBUS_MasterReceive_RXNE(), and SMBUS_SlaveReceive_RXNE().


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