L4 HAL Drivers

Embed: (wiki syntax)

« Back to documentation index

Peripheral State 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:
hsai,:pointer to a SAI_HandleTypeDef structure that contains the configuration information for the specified SAI Block.
Return values:
SAIError Code

Definition at line 1394 of file stm32l4xx_hal_sai.c.

HAL_SAI_StateTypeDef HAL_SAI_GetState ( SAI_HandleTypeDef *  hsai )

Return the SAI handle state.

Parameters:
hsai,:pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module.
Return values:
HALstate

Definition at line 1382 of file stm32l4xx_hal_sai.c.