STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
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.
 
HAL_FMPI2C_ModeTypeDef HAL_FMPI2C_GetMode (const FMPI2C_HandleTypeDef *hfmpi2c)
 Returns the FMPI2C Master, Slave, Memory or no mode.
 
uint32_t HAL_FMPI2C_GetError (const FMPI2C_HandleTypeDef *hfmpi2c)
 Return the FMPI2C error code.
 

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_GetState()

HAL_FMPI2C_StateTypeDef HAL_FMPI2C_GetState ( const FMPI2C_HandleTypeDef * hfmpi2c)

#include <stm32f4xx_hal_fmpi2c.h>

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 4878 of file stm32f4xx_hal_fmpi2c.c.

References __FMPI2C_HandleTypeDef::State.

◆ HAL_FMPI2C_GetMode()

HAL_FMPI2C_ModeTypeDef HAL_FMPI2C_GetMode ( const FMPI2C_HandleTypeDef * hfmpi2c)

#include <stm32f4xx_hal_fmpi2c.h>

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 4890 of file stm32f4xx_hal_fmpi2c.c.

References __FMPI2C_HandleTypeDef::Mode.

◆ HAL_FMPI2C_GetError()

uint32_t HAL_FMPI2C_GetError ( const FMPI2C_HandleTypeDef * hfmpi2c)

#include <stm32f4xx_hal_fmpi2c.h>

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 4901 of file stm32f4xx_hal_fmpi2c.c.

References __FMPI2C_HandleTypeDef::ErrorCode.