Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
Peripheral State and Errors functions
[I2C Exported Functions]
Peripheral State and Errors functions. More...
Functions | |
| HAL_I2C_StateTypeDef | HAL_I2C_GetState (I2C_HandleTypeDef *hi2c) |
| Return the I2C handle state. | |
| uint32_t | HAL_I2C_GetError (I2C_HandleTypeDef *hi2c) |
| Return the I2C error code. | |
Detailed Description
Peripheral State and Errors functions.
===============================================================================
##### Peripheral State and Errors functions #####
===============================================================================
[..]
This subsection permits to get in run-time the status of the peripheral
and the data flow.
Function Documentation
| uint32_t HAL_I2C_GetError | ( | I2C_HandleTypeDef * | hi2c ) |
Return the I2C error code.
- Parameters:
-
hi2c : Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
- Return values:
-
I2C Error Code
Definition at line 2553 of file stm32l4xx_hal_i2c.c.
| HAL_I2C_StateTypeDef HAL_I2C_GetState | ( | I2C_HandleTypeDef * | hi2c ) |
Return the I2C handle state.
- Parameters:
-
hi2c : Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
- Return values:
-
HAL state
Definition at line 2541 of file stm32l4xx_hal_i2c.c.
Generated on Tue Jul 12 2022 11:35:30 by
1.7.2
