|
STM32F479xx HAL User Manual
|
Peripheral State, Mode and Error functions. More...
Functions | |
| HAL_I2C_StateTypeDef | HAL_I2C_GetState (I2C_HandleTypeDef *hi2c) |
| Return the I2C handle state. | |
| HAL_I2C_ModeTypeDef | HAL_I2C_GetMode (I2C_HandleTypeDef *hi2c) |
| Returns the I2C Master, Slave, Memory or no mode. | |
| uint32_t | HAL_I2C_GetError (I2C_HandleTypeDef *hi2c) |
| Return the I2C error code. | |
Peripheral State, Mode and Error functions.
===============================================================================
##### Peripheral State, Mode and Error functions #####
===============================================================================
[..]
This subsection permit to get in run-time the status of the peripheral
and the data flow.
| 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 |
Definition at line 5236 of file stm32f4xx_hal_i2c.c.
References __I2C_HandleTypeDef::ErrorCode.
Returns 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 |
Definition at line 5225 of file stm32f4xx_hal_i2c.c.
References __I2C_HandleTypeDef::Mode.
Return the I2C handle state.
| hi2c | Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C. |
| HAL | state |
Definition at line 5213 of file stm32f4xx_hal_i2c.c.
References __I2C_HandleTypeDef::State.
1.7.6.1