HAL I2C Generic Driver
HAL_I2C_SlaveRxCpltCallback
Function name
Function description
Parameters
Return values
HAL_I2C_AddrCallback
Function name
Function description
Parameters
Return values
HAL_I2C_ListenCpltCallback
Function name
Function description
Parameters
Return values
HAL_I2C_MemTxCpltCallback
Function name
Function description
Parameters
Return values
HAL_I2C_MemRxCpltCallback
Function name
Function description
Parameters
Return values
306/1371
void HAL_I2C_SlaveRxCpltCallback (I2C_HandleTypeDef *
hi2c)
Slave Rx Transfer completed callback.
hi2c: Pointer to a I2C_HandleTypeDef structure that contains
the configuration information for the specified I2C.
None:
void HAL_I2C_AddrCallback (I2C_HandleTypeDef * hi2c,
uint8_t TransferDirection, uint16_t AddrMatchCode)
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 XferOptions definition
AddrMatchCode: Address Match Code
None:
void HAL_I2C_ListenCpltCallback (I2C_HandleTypeDef * hi2c)
Listen Complete callback.
hi2c: Pointer to a I2C_HandleTypeDef structure that contains
the configuration information for the specified I2C.
None:
void HAL_I2C_MemTxCpltCallback (I2C_HandleTypeDef *
hi2c)
Memory Tx Transfer completed callback.
hi2c: Pointer to a I2C_HandleTypeDef structure that contains
the configuration information for the specified I2C.
None:
void HAL_I2C_MemRxCpltCallback (I2C_HandleTypeDef *
hi2c)
Memory Rx Transfer completed callback.
hi2c: Pointer to a I2C_HandleTypeDef structure that contains
the configuration information for the specified I2C.
None:
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers