STM32H735xx 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 296 of file stm32h7xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_CNREADY   0x00000010U

codec not ready

Definition at line 298 of file stm32h7xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_DMA   0x00000080U

DMA error

Definition at line 301 of file stm32h7xx_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 303 of file stm32h7xx_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 297 of file stm32h7xx_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 294 of file stm32h7xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_TIMEOUT   0x00000040U

Timeout error

Definition at line 300 of file stm32h7xx_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 295 of file stm32h7xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

#define HAL_SAI_ERROR_WCKCFG   0x00000020U

Wrong clock configuration

Definition at line 299 of file stm32h7xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler(), and SAI_DMAAbort().