STM32F4xx_HAL_Driver  1.8.3
IRQ Handler and Callbacks
+ Collaboration diagram for IRQ Handler and Callbacks:

Functions

void HAL_I2C_EV_IRQHandler (I2C_HandleTypeDef *hi2c)
 This function handles I2C event interrupt request. More...
 
void HAL_I2C_ER_IRQHandler (I2C_HandleTypeDef *hi2c)
 This function handles I2C error interrupt request. More...
 
void HAL_I2C_MasterTxCpltCallback (I2C_HandleTypeDef *hi2c)
 Master Tx Transfer completed callback. More...
 
void HAL_I2C_MasterRxCpltCallback (I2C_HandleTypeDef *hi2c)
 Master Rx Transfer completed callback. More...
 
void HAL_I2C_SlaveTxCpltCallback (I2C_HandleTypeDef *hi2c)
 Slave Tx Transfer completed callback. More...
 
void HAL_I2C_SlaveRxCpltCallback (I2C_HandleTypeDef *hi2c)
 Slave Rx Transfer completed callback. More...
 
void HAL_I2C_AddrCallback (I2C_HandleTypeDef *hi2c, uint8_t TransferDirection, uint16_t AddrMatchCode)
 Slave Address Match callback. More...
 
void HAL_I2C_ListenCpltCallback (I2C_HandleTypeDef *hi2c)
 Listen Complete callback. More...
 
void HAL_I2C_MemTxCpltCallback (I2C_HandleTypeDef *hi2c)
 Memory Tx Transfer completed callback. More...
 
void HAL_I2C_MemRxCpltCallback (I2C_HandleTypeDef *hi2c)
 Memory Rx Transfer completed callback. More...
 
void HAL_I2C_ErrorCallback (I2C_HandleTypeDef *hi2c)
 I2C error callback. More...
 
void HAL_I2C_AbortCpltCallback (I2C_HandleTypeDef *hi2c)
 I2C abort callback. More...
 

Detailed Description

Function Documentation

◆ HAL_I2C_AbortCpltCallback()

__weak void HAL_I2C_AbortCpltCallback ( I2C_HandleTypeDef *  hi2c)

I2C abort callback.

Parameters
hi2cPointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values
None

Definition at line 5179 of file stm32f4xx_hal_i2c.c.

◆ HAL_I2C_AddrCallback()

__weak void HAL_I2C_AddrCallback ( I2C_HandleTypeDef *  hi2c,
uint8_t  TransferDirection,
uint16_t  AddrMatchCode 
)

Slave Address Match callback.

Parameters
hi2cPointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
TransferDirectionMaster request Transfer Direction (Write/Read), value of I2C XferDirection definition
AddrMatchCodeAddress Match Code
Return values
None

Definition at line 5097 of file stm32f4xx_hal_i2c.c.

◆ HAL_I2C_ER_IRQHandler()

void HAL_I2C_ER_IRQHandler ( I2C_HandleTypeDef *  hi2c)

This function handles I2C error interrupt request.

Parameters
hi2cPointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values
None

Definition at line 4952 of file stm32f4xx_hal_i2c.c.

◆ HAL_I2C_ErrorCallback()

__weak void HAL_I2C_ErrorCallback ( I2C_HandleTypeDef *  hi2c)

I2C error callback.

Parameters
hi2cPointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values
None

Definition at line 5163 of file stm32f4xx_hal_i2c.c.

◆ HAL_I2C_EV_IRQHandler()

void HAL_I2C_EV_IRQHandler ( I2C_HandleTypeDef *  hi2c)

This function handles I2C event interrupt request.

Parameters
hi2cPointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values
None

Definition at line 4783 of file stm32f4xx_hal_i2c.c.

◆ HAL_I2C_ListenCpltCallback()

__weak void HAL_I2C_ListenCpltCallback ( I2C_HandleTypeDef *  hi2c)

Listen Complete callback.

Parameters
hi2cPointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values
None

Definition at line 5115 of file stm32f4xx_hal_i2c.c.

◆ HAL_I2C_MasterRxCpltCallback()

__weak void HAL_I2C_MasterRxCpltCallback ( I2C_HandleTypeDef *  hi2c)

Master Rx Transfer completed callback.

Parameters
hi2cPointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values
None

Definition at line 5048 of file stm32f4xx_hal_i2c.c.

◆ HAL_I2C_MasterTxCpltCallback()

__weak void HAL_I2C_MasterTxCpltCallback ( I2C_HandleTypeDef *  hi2c)

Master Tx Transfer completed callback.

Parameters
hi2cPointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values
None

Definition at line 5032 of file stm32f4xx_hal_i2c.c.

◆ HAL_I2C_MemRxCpltCallback()

__weak void HAL_I2C_MemRxCpltCallback ( I2C_HandleTypeDef *  hi2c)

Memory Rx Transfer completed callback.

Parameters
hi2cPointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values
None

Definition at line 5147 of file stm32f4xx_hal_i2c.c.

◆ HAL_I2C_MemTxCpltCallback()

__weak void HAL_I2C_MemTxCpltCallback ( I2C_HandleTypeDef *  hi2c)

Memory Tx Transfer completed callback.

Parameters
hi2cPointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values
None

Definition at line 5131 of file stm32f4xx_hal_i2c.c.

◆ HAL_I2C_SlaveRxCpltCallback()

__weak void HAL_I2C_SlaveRxCpltCallback ( I2C_HandleTypeDef *  hi2c)

Slave Rx Transfer completed callback.

Parameters
hi2cPointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values
None

Definition at line 5079 of file stm32f4xx_hal_i2c.c.

◆ HAL_I2C_SlaveTxCpltCallback()

__weak void HAL_I2C_SlaveTxCpltCallback ( I2C_HandleTypeDef *  hi2c)

Slave Tx Transfer completed callback.

Parameters
hi2cPointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
Return values
None

Definition at line 5063 of file stm32f4xx_hal_i2c.c.