Peripheral State and Errors functions.
More...
Peripheral State and Errors functions.
===============================================================================
##### Peripheral State, Mode and Error 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 1918 of file stm32f4xx_hal_smbus.c.
◆ HAL_SMBUS_GetMode()
Return the SMBUS Master, Slave or no mode.
- Parameters
-
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for SMBUS module |
- Return values
-
Definition at line 1907 of file stm32f4xx_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 1895 of file stm32f4xx_hal_smbus.c.