STM32F4xx_HAL_Driver  1.8.3
Peripheral State, Mode and Error functions

Peripheral State, Mode and Error functions. More...

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

Functions

HAL_FMPI2C_StateTypeDef HAL_FMPI2C_GetState (const FMPI2C_HandleTypeDef *hfmpi2c)
 Return the FMPI2C handle state. More...
 
HAL_FMPI2C_ModeTypeDef HAL_FMPI2C_GetMode (const FMPI2C_HandleTypeDef *hfmpi2c)
 Returns the FMPI2C Master, Slave, Memory or no mode. More...
 
uint32_t HAL_FMPI2C_GetError (const FMPI2C_HandleTypeDef *hfmpi2c)
 Return the FMPI2C error code. More...
 

Detailed Description

Peripheral State, Mode and Error functions.

 ===============================================================================
            ##### Peripheral State, Mode and Error functions #####
 ===============================================================================
    [..]
    This subsection permit to get in run-time the status of the peripheral
    and the data flow.

Function Documentation

◆ HAL_FMPI2C_GetError()

uint32_t HAL_FMPI2C_GetError ( const FMPI2C_HandleTypeDef hfmpi2c)

Return the FMPI2C error code.

Parameters
hfmpi2cPointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C.
Return values
FMPI2CError Code

Definition at line 4909 of file stm32f4xx_hal_fmpi2c.c.

◆ HAL_FMPI2C_GetMode()

HAL_FMPI2C_ModeTypeDef HAL_FMPI2C_GetMode ( const FMPI2C_HandleTypeDef hfmpi2c)

Returns the FMPI2C Master, Slave, Memory or no mode.

Parameters
hfmpi2cPointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for FMPI2C module
Return values
HALmode

Definition at line 4898 of file stm32f4xx_hal_fmpi2c.c.

◆ HAL_FMPI2C_GetState()

HAL_FMPI2C_StateTypeDef HAL_FMPI2C_GetState ( const FMPI2C_HandleTypeDef hfmpi2c)

Return the FMPI2C handle state.

Parameters
hfmpi2cPointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C.
Return values
HALstate

Definition at line 4886 of file stm32f4xx_hal_fmpi2c.c.