TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

IRQ Handler and Callbacks

IRQ Handler and Callbacks
[I2C Exported Functions]

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.
__weak void HAL_I2C_MasterTxCpltCallback (I2C_HandleTypeDef *hi2c)
 Master Tx Transfer completed callback.
__weak void HAL_I2C_MasterRxCpltCallback (I2C_HandleTypeDef *hi2c)
 Master Rx Transfer completed callback.
__weak void HAL_I2C_SlaveTxCpltCallback (I2C_HandleTypeDef *hi2c)
 Slave Tx Transfer completed callback.
__weak void HAL_I2C_SlaveRxCpltCallback (I2C_HandleTypeDef *hi2c)
 Slave Rx Transfer completed callback.
__weak void HAL_I2C_AddrCallback (I2C_HandleTypeDef *hi2c, uint8_t TransferDirection, uint16_t AddrMatchCode)
 Slave Address Match callback.
__weak void HAL_I2C_ListenCpltCallback (I2C_HandleTypeDef *hi2c)
 Listen Complete callback.
__weak void HAL_I2C_MemTxCpltCallback (I2C_HandleTypeDef *hi2c)
 Memory Tx Transfer completed callback.
__weak void HAL_I2C_MemRxCpltCallback (I2C_HandleTypeDef *hi2c)
 Memory Rx Transfer completed callback.
__weak void HAL_I2C_ErrorCallback (I2C_HandleTypeDef *hi2c)
 I2C error callback.
__weak void HAL_I2C_AbortCpltCallback (I2C_HandleTypeDef *hi2c)
 I2C abort callback.

Function Documentation

__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 3128 of file stm32l4xx_hal_i2c.c.

__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.
TransferDirection,:Master request Transfer Direction (Write/Read), value of I2C_XFEROPTIONS
AddrMatchCode,:Address Match Code
Return values:
None

Definition at line 3046 of file stm32l4xx_hal_i2c.c.

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 2936 of file stm32l4xx_hal_i2c.c.

__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 3112 of file stm32l4xx_hal_i2c.c.

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 2917 of file stm32l4xx_hal_i2c.c.

__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 3064 of file stm32l4xx_hal_i2c.c.

__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 2997 of file stm32l4xx_hal_i2c.c.

__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 2981 of file stm32l4xx_hal_i2c.c.

__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 3096 of file stm32l4xx_hal_i2c.c.

__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 3080 of file stm32l4xx_hal_i2c.c.

__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 3028 of file stm32l4xx_hal_i2c.c.

__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 3012 of file stm32l4xx_hal_i2c.c.