STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Peripheral State functions

Peripheral State functions. More...

Collaboration diagram for Peripheral State functions:

Functions

HAL_SAI_StateTypeDef HAL_SAI_GetState (const SAI_HandleTypeDef *hsai)
 Return the SAI handle state.
 
uint32_t HAL_SAI_GetError (const SAI_HandleTypeDef *hsai)
 Return the SAI error code.
 

Detailed Description

Peripheral State 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

◆ HAL_SAI_GetState()

HAL_SAI_StateTypeDef HAL_SAI_GetState ( const SAI_HandleTypeDef * hsai)

#include <stm32f4xx_hal_sai.h>

Return the SAI handle state.

Parameters
hsaipointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module.
Return values
HALstate

Definition at line 1912 of file stm32f4xx_hal_sai.c.

References __SAI_HandleTypeDef::State.

◆ HAL_SAI_GetError()

uint32_t HAL_SAI_GetError ( const SAI_HandleTypeDef * hsai)

#include <stm32f4xx_hal_sai.h>

Return the SAI error code.

Parameters
hsaipointer to a SAI_HandleTypeDef structure that contains the configuration information for the specified SAI Block.
Return values
SAIError Code

Definition at line 1923 of file stm32f4xx_hal_sai.c.

References __SAI_HandleTypeDef::ErrorCode.