|
STM32L4xx_HAL_Driver
1.14.0
|
SMBUS handle Structure definition. More...
Data Structures | |
| struct | __SMBUS_HandleTypeDef |
Typedefs | |
| typedef struct __SMBUS_HandleTypeDef | SMBUS_HandleTypeDef |
| typedef void(* | pSMBUS_CallbackTypeDef) (SMBUS_HandleTypeDef *hsmbus) |
| HAL SMBUS Callback pointer definition. More... | |
| typedef void(* | pSMBUS_AddrCallbackTypeDef) (SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t AddrMatchCode) |
Enumerations | |
| enum | HAL_SMBUS_CallbackIDTypeDef { HAL_SMBUS_MASTER_TX_COMPLETE_CB_ID = 0x00U, HAL_SMBUS_MASTER_RX_COMPLETE_CB_ID = 0x01U, HAL_SMBUS_SLAVE_TX_COMPLETE_CB_ID = 0x02U, HAL_SMBUS_SLAVE_RX_COMPLETE_CB_ID = 0x03U, HAL_SMBUS_LISTEN_COMPLETE_CB_ID = 0x04U, HAL_SMBUS_ERROR_CB_ID = 0x05U, HAL_SMBUS_MSPINIT_CB_ID = 0x06U, HAL_SMBUS_MSPDEINIT_CB_ID = 0x07U } |
| HAL SMBUS Callback ID enumeration definition. More... | |
SMBUS handle Structure definition.
| struct __SMBUS_HandleTypeDef |
Definition at line 135 of file stm32l4xx_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 uint32_t | State |
| __IO uint32_t | ErrorCode |
| 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(* | ErrorCallback )(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) |
| void(* __SMBUS_HandleTypeDef::AddrCallback) (struct __SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t AddrMatchCode) |
SMBUS Slave Address Match callback
Definition at line 165 of file stm32l4xx_hal_smbus.h.
| void(* __SMBUS_HandleTypeDef::ErrorCallback) (struct __SMBUS_HandleTypeDef *hsmbus) |
SMBUS Error callback
Definition at line 163 of file stm32l4xx_hal_smbus.h.
| __IO uint32_t __SMBUS_HandleTypeDef::ErrorCode |
SMBUS Error code
Definition at line 155 of file stm32l4xx_hal_smbus.h.
| SMBUS_InitTypeDef __SMBUS_HandleTypeDef::Init |
SMBUS communication parameters
Definition at line 139 of file stm32l4xx_hal_smbus.h.
| I2C_TypeDef* __SMBUS_HandleTypeDef::Instance |
SMBUS registers base address
Definition at line 137 of file stm32l4xx_hal_smbus.h.
| void(* __SMBUS_HandleTypeDef::ListenCpltCallback) (struct __SMBUS_HandleTypeDef *hsmbus) |
SMBUS Listen Complete callback
Definition at line 162 of file stm32l4xx_hal_smbus.h.
| HAL_LockTypeDef __SMBUS_HandleTypeDef::Lock |
SMBUS locking object
Definition at line 151 of file stm32l4xx_hal_smbus.h.
| void(* __SMBUS_HandleTypeDef::MasterRxCpltCallback) (struct __SMBUS_HandleTypeDef *hsmbus) |
SMBUS Master Rx Transfer completed callback
Definition at line 159 of file stm32l4xx_hal_smbus.h.
| void(* __SMBUS_HandleTypeDef::MasterTxCpltCallback) (struct __SMBUS_HandleTypeDef *hsmbus) |
SMBUS Master Tx Transfer completed callback
Definition at line 158 of file stm32l4xx_hal_smbus.h.
| void(* __SMBUS_HandleTypeDef::MspDeInitCallback) (struct __SMBUS_HandleTypeDef *hsmbus) |
SMBUS Msp DeInit callback
Definition at line 168 of file stm32l4xx_hal_smbus.h.
| void(* __SMBUS_HandleTypeDef::MspInitCallback) (struct __SMBUS_HandleTypeDef *hsmbus) |
SMBUS Msp Init callback
Definition at line 167 of file stm32l4xx_hal_smbus.h.
| uint8_t* __SMBUS_HandleTypeDef::pBuffPtr |
Pointer to SMBUS transfer buffer
Definition at line 141 of file stm32l4xx_hal_smbus.h.
| __IO uint32_t __SMBUS_HandleTypeDef::PreviousState |
SMBUS communication Previous state
Definition at line 149 of file stm32l4xx_hal_smbus.h.
| void(* __SMBUS_HandleTypeDef::SlaveRxCpltCallback) (struct __SMBUS_HandleTypeDef *hsmbus) |
SMBUS Slave Rx Transfer completed callback
Definition at line 161 of file stm32l4xx_hal_smbus.h.
| void(* __SMBUS_HandleTypeDef::SlaveTxCpltCallback) (struct __SMBUS_HandleTypeDef *hsmbus) |
SMBUS Slave Tx Transfer completed callback
Definition at line 160 of file stm32l4xx_hal_smbus.h.
| __IO uint32_t __SMBUS_HandleTypeDef::State |
SMBUS communication state
Definition at line 153 of file stm32l4xx_hal_smbus.h.
| __IO uint16_t __SMBUS_HandleTypeDef::XferCount |
SMBUS transfer counter
Definition at line 145 of file stm32l4xx_hal_smbus.h.
| __IO uint32_t __SMBUS_HandleTypeDef::XferOptions |
SMBUS transfer options
Definition at line 147 of file stm32l4xx_hal_smbus.h.
| uint16_t __SMBUS_HandleTypeDef::XferSize |
SMBUS transfer size
Definition at line 143 of file stm32l4xx_hal_smbus.h.
| typedef void(* pSMBUS_AddrCallbackTypeDef) (SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t AddrMatchCode) |
pointer to an SMBUS Address Match callback function
Definition at line 195 of file stm32l4xx_hal_smbus.h.
| typedef void(* pSMBUS_CallbackTypeDef) (SMBUS_HandleTypeDef *hsmbus) |
HAL SMBUS Callback pointer definition.
pointer to an SMBUS callback function
Definition at line 194 of file stm32l4xx_hal_smbus.h.
| typedef struct __SMBUS_HandleTypeDef SMBUS_HandleTypeDef |
HAL SMBUS Callback ID enumeration definition.
Definition at line 177 of file stm32l4xx_hal_smbus.h.