STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
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.
 
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.
 

Detailed Description

Function Documentation

◆ HAL_I2C_EV_IRQHandler()

◆ HAL_I2C_ER_IRQHandler()

◆ HAL_I2C_MasterTxCpltCallback()

__weak void HAL_I2C_MasterTxCpltCallback ( I2C_HandleTypeDef * hi2c)

#include <stm32f4xx_hal_i2c.h>

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.

References UNUSED.

Referenced by HAL_I2C_Init(), I2C_MasterTransmit_BTF(), and I2C_MasterTransmit_TXE().

◆ HAL_I2C_MasterRxCpltCallback()

__weak void HAL_I2C_MasterRxCpltCallback ( I2C_HandleTypeDef * hi2c)

#include <stm32f4xx_hal_i2c.h>

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.

References UNUSED.

Referenced by HAL_I2C_Init(), I2C_DMAXferCplt(), I2C_MasterReceive_BTF(), and I2C_MasterReceive_RXNE().

◆ HAL_I2C_SlaveTxCpltCallback()

__weak void HAL_I2C_SlaveTxCpltCallback ( I2C_HandleTypeDef * hi2c)

#include <stm32f4xx_hal_i2c.h>

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.

References UNUSED.

Referenced by HAL_I2C_Init(), I2C_DMAXferCplt(), I2C_Slave_AF(), and I2C_SlaveTransmit_TXE().

◆ HAL_I2C_SlaveRxCpltCallback()

__weak void HAL_I2C_SlaveRxCpltCallback ( I2C_HandleTypeDef * hi2c)

#include <stm32f4xx_hal_i2c.h>

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.

References UNUSED.

Referenced by HAL_I2C_Init(), I2C_DMAXferCplt(), I2C_Slave_STOPF(), and I2C_SlaveReceive_RXNE().

◆ HAL_I2C_AddrCallback()

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

#include <stm32f4xx_hal_i2c.h>

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.

References UNUSED.

Referenced by HAL_I2C_Init(), and I2C_Slave_ADDR().

◆ HAL_I2C_ListenCpltCallback()

__weak void HAL_I2C_ListenCpltCallback ( I2C_HandleTypeDef * hi2c)

#include <stm32f4xx_hal_i2c.h>

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.

References UNUSED.

Referenced by HAL_I2C_Init(), I2C_ITError(), I2C_Slave_AF(), and I2C_Slave_STOPF().

◆ HAL_I2C_MemTxCpltCallback()

__weak void HAL_I2C_MemTxCpltCallback ( I2C_HandleTypeDef * hi2c)

#include <stm32f4xx_hal_i2c.h>

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.

References UNUSED.

Referenced by HAL_I2C_Init(), I2C_MasterTransmit_BTF(), I2C_MasterTransmit_TXE(), and I2C_MemoryTransmit_TXE_BTF().

◆ HAL_I2C_MemRxCpltCallback()

__weak void HAL_I2C_MemRxCpltCallback ( I2C_HandleTypeDef * hi2c)

#include <stm32f4xx_hal_i2c.h>

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.

References UNUSED.

Referenced by HAL_I2C_Init(), I2C_DMAXferCplt(), I2C_MasterReceive_BTF(), and I2C_MasterReceive_RXNE().

◆ HAL_I2C_ErrorCallback()

__weak void HAL_I2C_ErrorCallback ( I2C_HandleTypeDef * hi2c)

#include <stm32f4xx_hal_i2c.h>

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.

References UNUSED.

Referenced by HAL_I2C_Init(), I2C_DMAAbort(), I2C_DMAError(), I2C_DMAXferCplt(), I2C_ITError(), and I2C_MasterReceive_RXNE().

◆ HAL_I2C_AbortCpltCallback()

__weak void HAL_I2C_AbortCpltCallback ( I2C_HandleTypeDef * hi2c)

#include <stm32f4xx_hal_i2c.h>

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.

References UNUSED.

Referenced by HAL_I2C_Init(), I2C_DMAAbort(), and I2C_ITError().