STM32F439xx HAL User Manual
Functions
Peripheral State functions
SAI Exported Functions

Peripheral State functions. More...

Functions

HAL_SAI_StateTypeDef HAL_SAI_GetState (SAI_HandleTypeDef *hsai)
 Return the SAI handle state.
uint32_t HAL_SAI_GetError (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

uint32_t HAL_SAI_GetError ( SAI_HandleTypeDef hsai)

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 1598 of file stm32f4xx_hal_sai.c.

References __SAI_HandleTypeDef::ErrorCode.

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 1587 of file stm32f4xx_hal_sai.c.

References __SAI_HandleTypeDef::State.