Hal_I2C_Errorcallback; Hal_I2C_Abortcpltcallback; Hal_I2C_Getstate; Hal_I2C_Getmode - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

UM1940

HAL_I2C_ErrorCallback

Function name
Function description
Parameters
Return values

HAL_I2C_AbortCpltCallback

Function name
Function description
Parameters
Return values

HAL_I2C_GetState

Function name
Function description
Parameters
Return values

HAL_I2C_GetMode

Function name
Function description
Parameters
Return values
HAL_I2C_GetError
Function name
Function description
Parameters
Return values
void HAL_I2C_ErrorCallback (I2C_HandleTypeDef * hi2c)
I2C error callback.
hi2c: Pointer to a I2C_HandleTypeDef structure that contains
the configuration information for the specified I2C.
None:
void HAL_I2C_AbortCpltCallback (I2C_HandleTypeDef * hi2c)
I2C abort callback.
hi2c: Pointer to a I2C_HandleTypeDef structure that contains
the configuration information for the specified I2C.
None:
HAL_I2C_StateTypeDef HAL_I2C_GetState
(I2C_HandleTypeDef * hi2c)
Return the I2C handle state.
hi2c: Pointer to a I2C_HandleTypeDef structure that contains
the configuration information for the specified I2C.
HAL: state
HAL_I2C_ModeTypeDef HAL_I2C_GetMode
(I2C_HandleTypeDef * hi2c)
Return the I2C Master, Slave, Memory or no mode.
hi2c: Pointer to a I2C_HandleTypeDef structure that contains
the configuration information for I2C module
HAL: mode
uint32_t HAL_I2C_GetError (I2C_HandleTypeDef * hi2c)
Return the I2C error code.
hi2c: Pointer to a I2C_HandleTypeDef structure that contains
the configuration information for the specified I2C.
I2C: Error Code
DocID028236 Rev 2
HAL I2C Generic Driver
307/1371

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF