Peripheral State and Errors functions.
More...
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.
◆ HAL_SMBUS_GetError()
Return the SMBUS error code.
- Parameters
-
| hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
- Return values
-
Definition at line 1779 of file stm32l4xx_hal_smbus.c.
◆ HAL_SMBUS_GetState()
Return the SMBUS handle state.
- Parameters
-
| hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
- Return values
-
Definition at line 1767 of file stm32l4xx_hal_smbus.c.
1770 return hsmbus->
State;