STM32F439xx 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 Documentation

#define HAL_SAI_ERROR_AFSDET   0x00000004U

Anticipated Frame synchronisation detection

Definition at line 262 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_CNREADY   0x00000010U

codec not ready

Definition at line 264 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_DMA   0x00000080U

DMA error

Definition at line 267 of file stm32f4xx_hal_sai.h.

Referenced by SAI_DMAError().

#define HAL_SAI_ERROR_LFSDET   0x00000008U

Late Frame synchronisation detection

Definition at line 263 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 260 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_TIMEOUT   0x00000040U

Timeout error

Definition at line 266 of file stm32f4xx_hal_sai.h.

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

#define HAL_SAI_ERROR_UDR   0x00000002U

Underrun error

Definition at line 261 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_WCKCFG   0x00000020U

Wrong clock configuration

Definition at line 265 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler(), and SAI_DMAAbort().