|
STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Peripheral State and Errors functions. More...
Functions | |
| HAL_SMBUS_StateTypeDef | HAL_SMBUS_GetState (SMBUS_HandleTypeDef *hsmbus) |
| Return the SMBUS handle state. | |
| HAL_SMBUS_ModeTypeDef | HAL_SMBUS_GetMode (SMBUS_HandleTypeDef *hsmbus) |
| Return the SMBUS Master, Slave or no mode. | |
| uint32_t | HAL_SMBUS_GetError (SMBUS_HandleTypeDef *hsmbus) |
| Return the SMBUS error code. | |
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_StateTypeDef HAL_SMBUS_GetState | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
Return the SMBUS handle state.
| hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
| HAL | state |
Definition at line 1895 of file stm32f4xx_hal_smbus.c.
References __SMBUS_HandleTypeDef::State.
| HAL_SMBUS_ModeTypeDef HAL_SMBUS_GetMode | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
Return the SMBUS Master, Slave or no mode.
| hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for SMBUS module |
| HAL | mode |
Definition at line 1907 of file stm32f4xx_hal_smbus.c.
References __SMBUS_HandleTypeDef::Mode.
| uint32_t HAL_SMBUS_GetError | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
Return the SMBUS error code.
| hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
| SMBUS | Error Code |
Definition at line 1918 of file stm32f4xx_hal_smbus.c.
References __SMBUS_HandleTypeDef::ErrorCode.