STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
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_EV_IRQHandler | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
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 1528 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_ER_IRQHandler | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
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 1633 of file stm32f4xx_hal_smbus.c.
References __HAL_SMBUS_CLEAR_FLAG, __HAL_SMBUS_DISABLE_IT, __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_Flush_DR(), SMBUS_IT_BUF, SMBUS_IT_ERR, SMBUS_IT_EVT, SMBUS_ITError(), SMBUS_Slave_AF(), SMBUS_STATE_SLAVE_BUSY_TX, __SMBUS_HandleTypeDef::State, and __SMBUS_HandleTypeDef::XferCount.
void HAL_SMBUS_MasterTxCpltCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
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 1745 of file stm32f4xx_hal_smbus.c.
References UNUSED.
Referenced by HAL_SMBUS_Init(), SMBUS_MasterTransmit_BTF(), and SMBUS_MasterTransmit_TXE().
void HAL_SMBUS_MasterRxCpltCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
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 1761 of file stm32f4xx_hal_smbus.c.
References UNUSED.
Referenced by HAL_SMBUS_Init(), SMBUS_MasterReceive_BTF(), and SMBUS_MasterReceive_RXNE().
void HAL_SMBUS_SlaveTxCpltCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
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 1776 of file stm32f4xx_hal_smbus.c.
References UNUSED.
Referenced by HAL_SMBUS_Init(), and SMBUS_SlaveTransmit_TXE().
void HAL_SMBUS_SlaveRxCpltCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
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 1792 of file stm32f4xx_hal_smbus.c.
References UNUSED.
Referenced by HAL_SMBUS_Init(), and SMBUS_SlaveReceive_RXNE().
void HAL_SMBUS_AddrCallback | ( | SMBUS_HandleTypeDef * | hsmbus, |
uint8_t | TransferDirection, | ||
uint16_t | AddrMatchCode ) |
#include <stm32f4xx_hal_smbus.h>
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 1810 of file stm32f4xx_hal_smbus.c.
References UNUSED.
Referenced by HAL_SMBUS_Init(), and SMBUS_Slave_ADDR().
void HAL_SMBUS_ListenCpltCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
Listen Complete callback.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
None |
Definition at line 1828 of file stm32f4xx_hal_smbus.c.
References UNUSED.
Referenced by HAL_SMBUS_Init(), SMBUS_ITError(), SMBUS_Slave_AF(), and SMBUS_Slave_STOPF().
void HAL_SMBUS_ErrorCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
SMBUS error callback.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
None |
Definition at line 1844 of file stm32f4xx_hal_smbus.c.
References UNUSED.
Referenced by HAL_SMBUS_Init(), and SMBUS_ITError().
void HAL_SMBUS_AbortCpltCallback | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
SMBUS abort callback.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
None |
Definition at line 1860 of file stm32f4xx_hal_smbus.c.
References UNUSED.
Referenced by HAL_SMBUS_Init(), and SMBUS_ITError().