STM32F4xx_HAL_Driver  1.8.3
Peripheral State, Mode and Error functions

Peripheral State and Errors functions. More...

+ Collaboration diagram for Peripheral State, Mode and Error functions:

Functions

HAL_SMBUS_StateTypeDef HAL_SMBUS_GetState (SMBUS_HandleTypeDef *hsmbus)
 Return the SMBUS handle state. More...
 
HAL_SMBUS_ModeTypeDef HAL_SMBUS_GetMode (SMBUS_HandleTypeDef *hsmbus)
 Return the SMBUS Master, Slave or no mode. More...
 
uint32_t HAL_SMBUS_GetError (SMBUS_HandleTypeDef *hsmbus)
 Return the SMBUS error code. More...
 

Detailed Description

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.

Function Documentation

◆ HAL_SMBUS_GetError()

uint32_t HAL_SMBUS_GetError ( SMBUS_HandleTypeDef hsmbus)

Return the SMBUS error code.

Parameters
hsmbusPointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS.
Return values
SMBUSError Code

Definition at line 1918 of file stm32f4xx_hal_smbus.c.

◆ HAL_SMBUS_GetMode()

HAL_SMBUS_ModeTypeDef HAL_SMBUS_GetMode ( SMBUS_HandleTypeDef hsmbus)

Return the SMBUS Master, Slave or no mode.

Parameters
hsmbusPointer to a SMBUS_HandleTypeDef structure that contains the configuration information for SMBUS module
Return values
HALmode

Definition at line 1907 of file stm32f4xx_hal_smbus.c.

◆ HAL_SMBUS_GetState()

HAL_SMBUS_StateTypeDef HAL_SMBUS_GetState ( SMBUS_HandleTypeDef hsmbus)

Return the SMBUS handle state.

Parameters
hsmbusPointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS.
Return values
HALstate

Definition at line 1895 of file stm32f4xx_hal_smbus.c.