STM32F479xx 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 279 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_CNREADY   0x00000010U

codec not ready

Definition at line 281 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_DMA   0x00000080U

DMA error

Definition at line 284 of file stm32f4xx_hal_sai.h.

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

#define HAL_SAI_ERROR_INVALID_CALLBACK   0x00000100U

Invalid callback error

Definition at line 286 of file stm32f4xx_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 280 of file stm32f4xx_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 277 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_TIMEOUT   0x00000040U

Timeout error

Definition at line 283 of file stm32f4xx_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 278 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_WCKCFG   0x00000020U

Wrong clock configuration

Definition at line 282 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler(), and SAI_DMAAbort().