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.
Peripheral State and Errors functions
[SMBUS Exported Functions]
Peripheral State and Errors functions. More...
Functions | |
uint32_t | HAL_SMBUS_GetState (SMBUS_HandleTypeDef *hsmbus) |
Return the SMBUS handle state. | |
uint32_t | HAL_SMBUS_GetError (SMBUS_HandleTypeDef *hsmbus) |
Return the SMBUS 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_SMBUS_GetError | ( | SMBUS_HandleTypeDef * | hsmbus ) |
Return the SMBUS error code.
- Parameters:
-
hsmbus : pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS.
- Return values:
-
SMBUS Error Code
Definition at line 1325 of file stm32l4xx_hal_smbus.c.
uint32_t HAL_SMBUS_GetState | ( | SMBUS_HandleTypeDef * | hsmbus ) |
Return the SMBUS handle state.
- Parameters:
-
hsmbus : Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS.
- Return values:
-
HAL state
Definition at line 1313 of file stm32l4xx_hal_smbus.c.
Generated on Tue Jul 12 2022 18:10:46 by
