STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Functions | |
void | HAL_I2C_EV_IRQHandler (I2C_HandleTypeDef *hi2c) |
This function handles I2C event interrupt request. | |
void | HAL_I2C_ER_IRQHandler (I2C_HandleTypeDef *hi2c) |
This function handles I2C error interrupt request. | |
void | HAL_I2C_MasterTxCpltCallback (I2C_HandleTypeDef *hi2c) |
Master Tx Transfer completed callback. | |
void | HAL_I2C_MasterRxCpltCallback (I2C_HandleTypeDef *hi2c) |
Master Rx Transfer completed callback. | |
void | HAL_I2C_SlaveTxCpltCallback (I2C_HandleTypeDef *hi2c) |
Slave Tx Transfer completed callback. | |
void | HAL_I2C_SlaveRxCpltCallback (I2C_HandleTypeDef *hi2c) |
Slave Rx Transfer completed callback. | |
void | HAL_I2C_AddrCallback (I2C_HandleTypeDef *hi2c, uint8_t TransferDirection, uint16_t AddrMatchCode) |
Slave Address Match callback. | |
void | HAL_I2C_ListenCpltCallback (I2C_HandleTypeDef *hi2c) |
Listen Complete callback. | |
void | HAL_I2C_MemTxCpltCallback (I2C_HandleTypeDef *hi2c) |
Memory Tx Transfer completed callback. | |
void | HAL_I2C_MemRxCpltCallback (I2C_HandleTypeDef *hi2c) |
Memory Rx Transfer completed callback. | |
void | HAL_I2C_ErrorCallback (I2C_HandleTypeDef *hi2c) |
I2C error callback. | |
void | HAL_I2C_AbortCpltCallback (I2C_HandleTypeDef *hi2c) |
I2C abort callback. | |
void HAL_I2C_EV_IRQHandler | ( | I2C_HandleTypeDef * | hi2c | ) |
#include <stm32f4xx_hal_i2c.h>
This function handles I2C event interrupt request.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
None |
Definition at line 4783 of file stm32f4xx_hal_i2c.c.
References I2C_HandleTypeDef::ErrorCode, HAL_I2C_ERROR_NONE, HAL_I2C_MODE_MASTER, HAL_I2C_MODE_MEM, HAL_I2C_STATE_BUSY_TX, HAL_I2C_STATE_BUSY_TX_LISTEN, I2C_CHECK_FLAG, I2C_CHECK_IT_SOURCE, I2C_ConvertOtherXferOptions(), I2C_FLAG_ADD10, I2C_FLAG_ADDR, I2C_FLAG_BTF, I2C_FLAG_RXNE, I2C_FLAG_SB, I2C_FLAG_STOPF, I2C_FLAG_TRA, I2C_FLAG_TXE, I2C_IT_BUF, I2C_IT_EVT, I2C_Master_ADD10(), I2C_Master_ADDR(), I2C_Master_SB(), I2C_MasterReceive_BTF(), I2C_MasterReceive_RXNE(), I2C_MasterTransmit_BTF(), I2C_MasterTransmit_TXE(), I2C_MemoryTransmit_TXE_BTF(), I2C_Slave_ADDR(), I2C_Slave_STOPF(), I2C_SlaveReceive_BTF(), I2C_SlaveReceive_RXNE(), I2C_SlaveTransmit_BTF(), I2C_SlaveTransmit_TXE(), I2C_HandleTypeDef::Instance, IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST, I2C_HandleTypeDef::Mode, I2C_HandleTypeDef::State, and I2C_HandleTypeDef::XferOptions.
void HAL_I2C_ER_IRQHandler | ( | I2C_HandleTypeDef * | hi2c | ) |
#include <stm32f4xx_hal_i2c.h>
This function handles I2C error interrupt request.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
None |
Definition at line 4952 of file stm32f4xx_hal_i2c.c.
References __HAL_I2C_CLEAR_FLAG, I2C_HandleTypeDef::ErrorCode, HAL_I2C_ERROR_AF, HAL_I2C_ERROR_ARLO, HAL_I2C_ERROR_BERR, HAL_I2C_ERROR_NONE, HAL_I2C_ERROR_OVR, HAL_I2C_MODE_MASTER, HAL_I2C_MODE_MEM, HAL_I2C_MODE_SLAVE, HAL_I2C_STATE_BUSY_TX, HAL_I2C_STATE_BUSY_TX_LISTEN, HAL_I2C_STATE_LISTEN, I2C_CHECK_FLAG, I2C_CHECK_IT_SOURCE, I2C_FLAG_AF, I2C_FLAG_ARLO, I2C_FLAG_BERR, I2C_FLAG_OVR, I2C_IT_ERR, I2C_ITError(), I2C_Slave_AF(), I2C_STATE_SLAVE_BUSY_TX, I2C_HandleTypeDef::Instance, I2C_HandleTypeDef::Mode, I2C_HandleTypeDef::PreviousState, I2C_HandleTypeDef::State, and I2C_HandleTypeDef::XferCount.
__weak void HAL_I2C_MasterTxCpltCallback | ( | I2C_HandleTypeDef * | hi2c | ) |
#include <stm32f4xx_hal_i2c.h>
Master Tx Transfer completed callback.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
None |
Definition at line 5032 of file stm32f4xx_hal_i2c.c.
References UNUSED.
Referenced by HAL_I2C_Init(), I2C_MasterTransmit_BTF(), and I2C_MasterTransmit_TXE().
__weak void HAL_I2C_MasterRxCpltCallback | ( | I2C_HandleTypeDef * | hi2c | ) |
#include <stm32f4xx_hal_i2c.h>
Master Rx Transfer completed callback.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
None |
Definition at line 5048 of file stm32f4xx_hal_i2c.c.
References UNUSED.
Referenced by HAL_I2C_Init(), I2C_DMAXferCplt(), I2C_MasterReceive_BTF(), and I2C_MasterReceive_RXNE().
__weak void HAL_I2C_SlaveTxCpltCallback | ( | I2C_HandleTypeDef * | hi2c | ) |
#include <stm32f4xx_hal_i2c.h>
Slave Tx Transfer completed callback.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
None |
Definition at line 5063 of file stm32f4xx_hal_i2c.c.
References UNUSED.
Referenced by HAL_I2C_Init(), I2C_DMAXferCplt(), I2C_Slave_AF(), and I2C_SlaveTransmit_TXE().
__weak void HAL_I2C_SlaveRxCpltCallback | ( | I2C_HandleTypeDef * | hi2c | ) |
#include <stm32f4xx_hal_i2c.h>
Slave Rx Transfer completed callback.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
None |
Definition at line 5079 of file stm32f4xx_hal_i2c.c.
References UNUSED.
Referenced by HAL_I2C_Init(), I2C_DMAXferCplt(), I2C_Slave_STOPF(), and I2C_SlaveReceive_RXNE().
__weak void HAL_I2C_AddrCallback | ( | I2C_HandleTypeDef * | hi2c, |
uint8_t | TransferDirection, | ||
uint16_t | AddrMatchCode ) |
#include <stm32f4xx_hal_i2c.h>
Slave Address Match callback.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
TransferDirection | Master request Transfer Direction (Write/Read), value of I2C XferDirection definition |
AddrMatchCode | Address Match Code |
None |
Definition at line 5097 of file stm32f4xx_hal_i2c.c.
References UNUSED.
Referenced by HAL_I2C_Init(), and I2C_Slave_ADDR().
__weak void HAL_I2C_ListenCpltCallback | ( | I2C_HandleTypeDef * | hi2c | ) |
#include <stm32f4xx_hal_i2c.h>
Listen Complete callback.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
None |
Definition at line 5115 of file stm32f4xx_hal_i2c.c.
References UNUSED.
Referenced by HAL_I2C_Init(), I2C_ITError(), I2C_Slave_AF(), and I2C_Slave_STOPF().
__weak void HAL_I2C_MemTxCpltCallback | ( | I2C_HandleTypeDef * | hi2c | ) |
#include <stm32f4xx_hal_i2c.h>
Memory Tx Transfer completed callback.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
None |
Definition at line 5131 of file stm32f4xx_hal_i2c.c.
References UNUSED.
Referenced by HAL_I2C_Init(), I2C_MasterTransmit_BTF(), I2C_MasterTransmit_TXE(), and I2C_MemoryTransmit_TXE_BTF().
__weak void HAL_I2C_MemRxCpltCallback | ( | I2C_HandleTypeDef * | hi2c | ) |
#include <stm32f4xx_hal_i2c.h>
Memory Rx Transfer completed callback.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
None |
Definition at line 5147 of file stm32f4xx_hal_i2c.c.
References UNUSED.
Referenced by HAL_I2C_Init(), I2C_DMAXferCplt(), I2C_MasterReceive_BTF(), and I2C_MasterReceive_RXNE().
__weak void HAL_I2C_ErrorCallback | ( | I2C_HandleTypeDef * | hi2c | ) |
#include <stm32f4xx_hal_i2c.h>
I2C error callback.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
None |
Definition at line 5163 of file stm32f4xx_hal_i2c.c.
References UNUSED.
Referenced by HAL_I2C_Init(), I2C_DMAAbort(), I2C_DMAError(), I2C_DMAXferCplt(), I2C_ITError(), and I2C_MasterReceive_RXNE().
__weak void HAL_I2C_AbortCpltCallback | ( | I2C_HandleTypeDef * | hi2c | ) |
#include <stm32f4xx_hal_i2c.h>
I2C abort callback.
hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
None |
Definition at line 5179 of file stm32f4xx_hal_i2c.c.
References UNUSED.
Referenced by HAL_I2C_Init(), I2C_DMAAbort(), and I2C_ITError().