STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Collaboration diagram for SAI Error Code:

Macros

#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
 

Detailed Description

Macro Definition Documentation

◆ HAL_SAI_ERROR_NONE

#define HAL_SAI_ERROR_NONE   0x00000000U

◆ HAL_SAI_ERROR_OVR

#define HAL_SAI_ERROR_OVR   0x00000001U

#include <stm32f4xx_hal_sai.h>

Overrun Error

Definition at line 276 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

◆ HAL_SAI_ERROR_UDR

#define HAL_SAI_ERROR_UDR   0x00000002U

#include <stm32f4xx_hal_sai.h>

Underrun error

Definition at line 277 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

◆ HAL_SAI_ERROR_AFSDET

#define HAL_SAI_ERROR_AFSDET   0x00000004U

#include <stm32f4xx_hal_sai.h>

Anticipated Frame synchronisation detection

Definition at line 278 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

◆ HAL_SAI_ERROR_LFSDET

#define HAL_SAI_ERROR_LFSDET   0x00000008U

#include <stm32f4xx_hal_sai.h>

Late Frame synchronisation detection

Definition at line 279 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

◆ HAL_SAI_ERROR_CNREADY

#define HAL_SAI_ERROR_CNREADY   0x00000010U

#include <stm32f4xx_hal_sai.h>

codec not ready

Definition at line 280 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler().

◆ HAL_SAI_ERROR_WCKCFG

#define HAL_SAI_ERROR_WCKCFG   0x00000020U

#include <stm32f4xx_hal_sai.h>

Wrong clock configuration

Definition at line 281 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_IRQHandler(), and SAI_DMAAbort().

◆ HAL_SAI_ERROR_TIMEOUT

#define HAL_SAI_ERROR_TIMEOUT   0x00000040U

#include <stm32f4xx_hal_sai.h>

Timeout error

Definition at line 282 of file stm32f4xx_hal_sai.h.

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

◆ HAL_SAI_ERROR_DMA

#define HAL_SAI_ERROR_DMA   0x00000080U

#include <stm32f4xx_hal_sai.h>

DMA error

Definition at line 283 of file stm32f4xx_hal_sai.h.

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