STM32F479xx HAL User Manual
|
Functions | |
void | HAL_SMBUS_EV_IRQHandler (SMBUS_HandleTypeDef *hsmbus) |
This function handles SMBUS event interrupt request. | |
void | HAL_SMBUS_ER_IRQHandler (SMBUS_HandleTypeDef *hsmbus) |
This function handles SMBUS error interrupt request. | |
void | HAL_SMBUS_MasterTxCpltCallback (SMBUS_HandleTypeDef *hsmbus) |
Master Tx Transfer completed callback. | |
void | HAL_SMBUS_MasterRxCpltCallback (SMBUS_HandleTypeDef *hsmbus) |
Master Rx Transfer completed callback. | |
void | HAL_SMBUS_SlaveTxCpltCallback (SMBUS_HandleTypeDef *hsmbus) |
Slave Tx Transfer completed callback. | |
void | HAL_SMBUS_SlaveRxCpltCallback (SMBUS_HandleTypeDef *hsmbus) |
Slave Rx Transfer completed callback. | |
void | HAL_SMBUS_AddrCallback (SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t AddrMatchCode) |
Slave Address Match callback. | |
void | HAL_SMBUS_ListenCpltCallback (SMBUS_HandleTypeDef *hsmbus) |
Listen Complete callback. | |
void | HAL_SMBUS_ErrorCallback (SMBUS_HandleTypeDef *hsmbus) |
SMBUS error callback. | |
void | HAL_SMBUS_AbortCpltCallback (SMBUS_HandleTypeDef *hsmbus) |
SMBUS abort callback. |
void HAL_SMBUS_AbortCpltCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
SMBUS abort callback.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
None |
Definition at line 1843 of file stm32f4xx_hal_smbus.c.
Referenced by HAL_SMBUS_Init(), HAL_SMBUS_UnRegisterCallback(), and SMBUS_ITError().
void HAL_SMBUS_AddrCallback | ( | SMBUS_HandleTypeDef * | hsmbus, |
uint8_t | TransferDirection, | ||
uint16_t | AddrMatchCode | ||
) |
Slave Address Match callback.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
TransferDirection | Master request Transfer Direction (Write/Read), value of SMBUS XferOptions definition |
AddrMatchCode | Address Match Code |
None |
Definition at line 1793 of file stm32f4xx_hal_smbus.c.
Referenced by HAL_SMBUS_Init(), HAL_SMBUS_UnRegisterAddrCallback(), and SMBUS_Slave_ADDR().
void HAL_SMBUS_ER_IRQHandler | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
This function handles SMBUS error interrupt request.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
None |
Definition at line 1622 of file stm32f4xx_hal_smbus.c.
References __HAL_SMBUS_CLEAR_FLAG, __SMBUS_HandleTypeDef::ErrorCode, HAL_SMBUS_ERROR_AF, HAL_SMBUS_ERROR_ALERT, HAL_SMBUS_ERROR_ARLO, HAL_SMBUS_ERROR_BERR, HAL_SMBUS_ERROR_NONE, HAL_SMBUS_ERROR_OVR, HAL_SMBUS_ERROR_PECERR, HAL_SMBUS_ERROR_TIMEOUT, HAL_SMBUS_MODE_MASTER, HAL_SMBUS_MODE_SLAVE, HAL_SMBUS_STATE_BUSY_TX, HAL_SMBUS_STATE_BUSY_TX_LISTEN, HAL_SMBUS_STATE_LISTEN, __SMBUS_HandleTypeDef::Instance, __SMBUS_HandleTypeDef::Mode, __SMBUS_HandleTypeDef::PreviousState, SMBUS_FLAG_AF, SMBUS_FLAG_ARLO, SMBUS_FLAG_BERR, SMBUS_FLAG_OVR, SMBUS_FLAG_PECERR, SMBUS_FLAG_SMBALERT, SMBUS_FLAG_TIMEOUT, SMBUS_IT_ERR, SMBUS_ITError(), SMBUS_Slave_AF(), SMBUS_STATE_SLAVE_BUSY_TX, __SMBUS_HandleTypeDef::State, and __SMBUS_HandleTypeDef::XferCount.
void HAL_SMBUS_ErrorCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
SMBUS error callback.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
None |
Definition at line 1827 of file stm32f4xx_hal_smbus.c.
Referenced by HAL_SMBUS_Init(), HAL_SMBUS_UnRegisterCallback(), and SMBUS_ITError().
void HAL_SMBUS_EV_IRQHandler | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
This function handles SMBUS event interrupt request.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
None |
Definition at line 1517 of file stm32f4xx_hal_smbus.c.
References HAL_SMBUS_MODE_MASTER, __SMBUS_HandleTypeDef::Instance, __SMBUS_HandleTypeDef::Mode, SMBUS_FLAG_ADD10, SMBUS_FLAG_ADDR, SMBUS_FLAG_BTF, SMBUS_FLAG_RXNE, SMBUS_FLAG_SB, SMBUS_FLAG_STOPF, SMBUS_FLAG_TRA, SMBUS_FLAG_TXE, SMBUS_IT_BUF, SMBUS_IT_EVT, SMBUS_Master_ADD10(), SMBUS_Master_ADDR(), SMBUS_Master_SB(), SMBUS_MasterReceive_BTF(), SMBUS_MasterReceive_RXNE(), SMBUS_MasterTransmit_BTF(), SMBUS_MasterTransmit_TXE(), SMBUS_Slave_ADDR(), SMBUS_Slave_STOPF(), SMBUS_SlaveReceive_BTF(), SMBUS_SlaveReceive_RXNE(), SMBUS_SlaveTransmit_BTF(), and SMBUS_SlaveTransmit_TXE().
void HAL_SMBUS_ListenCpltCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
Listen Complete callback.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
None |
Definition at line 1811 of file stm32f4xx_hal_smbus.c.
Referenced by HAL_SMBUS_Init(), HAL_SMBUS_UnRegisterCallback(), SMBUS_ITError(), SMBUS_Slave_AF(), and SMBUS_Slave_STOPF().
void HAL_SMBUS_MasterRxCpltCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
Master Rx Transfer completed callback.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
None |
Definition at line 1744 of file stm32f4xx_hal_smbus.c.
Referenced by HAL_SMBUS_Init(), HAL_SMBUS_UnRegisterCallback(), SMBUS_MasterReceive_BTF(), and SMBUS_MasterReceive_RXNE().
void HAL_SMBUS_MasterTxCpltCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
Master Tx Transfer completed callback.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
None |
Definition at line 1728 of file stm32f4xx_hal_smbus.c.
Referenced by HAL_SMBUS_Init(), HAL_SMBUS_UnRegisterCallback(), SMBUS_MasterTransmit_BTF(), and SMBUS_MasterTransmit_TXE().
void HAL_SMBUS_SlaveRxCpltCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
Slave Rx Transfer completed callback.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
None |
Definition at line 1775 of file stm32f4xx_hal_smbus.c.
Referenced by HAL_SMBUS_Init(), HAL_SMBUS_UnRegisterCallback(), and SMBUS_SlaveReceive_RXNE().
void HAL_SMBUS_SlaveTxCpltCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
Slave Tx Transfer completed callback.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
None |
Definition at line 1759 of file stm32f4xx_hal_smbus.c.
Referenced by HAL_SMBUS_Init(), HAL_SMBUS_UnRegisterCallback(), and SMBUS_SlaveTransmit_TXE().