STM32L486xx HAL User Manual
Defines
SAI Error Code
SAI Exported Constants

Defines

#define HAL_SAI_ERROR_NONE   0x00000000U
#define HAL_SAI_ERROR_OVR   0x00000001U
#define HAL_SAI_ERROR_UDR   0x00000002U
#define HAL_SAI_ERROR_AFSDET   0x00000004U
#define HAL_SAI_ERROR_LFSDET   0x00000008U
#define HAL_SAI_ERROR_CNREADY   0x00000010U
#define HAL_SAI_ERROR_WCKCFG   0x00000020U
#define HAL_SAI_ERROR_TIMEOUT   0x00000040U
#define HAL_SAI_ERROR_DMA   0x00000080U
#define HAL_SAI_ERROR_INVALID_CALLBACK   0x00000100U

Define Documentation

#define HAL_SAI_ERROR_AFSDET   0x00000004U

Anticipated Frame synchronisation detection

Definition at line 320 of file stm32l4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_CNREADY   0x00000010U

codec not ready

Definition at line 322 of file stm32l4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_DMA   0x00000080U

DMA error

Definition at line 325 of file stm32l4xx_hal_sai.h.

Referenced by HAL_SAI_Abort(), HAL_SAI_DMAStop(), HAL_SAI_IRQHandler(), and SAI_DMAError().

#define HAL_SAI_ERROR_INVALID_CALLBACK   0x00000100U

Invalid callback error

Definition at line 327 of file stm32l4xx_hal_sai.h.

Referenced by HAL_SAI_RegisterCallback(), and HAL_SAI_UnRegisterCallback().

#define HAL_SAI_ERROR_LFSDET   0x00000008U

Late Frame synchronisation detection

Definition at line 321 of file stm32l4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_NONE   0x00000000U
#define HAL_SAI_ERROR_OVR   0x00000001U

Overrun Error

Definition at line 318 of file stm32l4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_TIMEOUT   0x00000040U

Timeout error

Definition at line 324 of file stm32l4xx_hal_sai.h.

Referenced by HAL_SAI_Receive(), HAL_SAI_Transmit(), HAL_SAI_Transmit_DMA(), and SAI_Disable().

#define HAL_SAI_ERROR_UDR   0x00000002U

Underrun error

Definition at line 319 of file stm32l4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_WCKCFG   0x00000020U

Wrong clock configuration

Definition at line 323 of file stm32l4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler(), and SAI_DMAAbort().