STM32F479xx HAL User Manual
Defines
SPI Error Code
SPI Exported Constants

Defines

#define HAL_SPI_ERROR_NONE   (0x00000000U)
#define HAL_SPI_ERROR_MODF   (0x00000001U)
#define HAL_SPI_ERROR_CRC   (0x00000002U)
#define HAL_SPI_ERROR_OVR   (0x00000004U)
#define HAL_SPI_ERROR_FRE   (0x00000008U)
#define HAL_SPI_ERROR_DMA   (0x00000010U)
#define HAL_SPI_ERROR_FLAG   (0x00000020U)
#define HAL_SPI_ERROR_ABORT   (0x00000040U)
#define HAL_SPI_ERROR_INVALID_CALLBACK   (0x00000080U)

Define Documentation

#define HAL_SPI_ERROR_ABORT   (0x00000040U)

Error during SPI Abort procedure

Definition at line 196 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_Abort(), HAL_SPI_Abort_IT(), HAL_SPI_IRQHandler(), SPI_AbortRx_ISR(), SPI_DMARxAbortCallback(), and SPI_DMATxAbortCallback().

#define HAL_SPI_ERROR_CRC   (0x00000002U)
#define HAL_SPI_ERROR_DMA   (0x00000010U)
#define HAL_SPI_ERROR_FLAG   (0x00000020U)
#define HAL_SPI_ERROR_FRE   (0x00000008U)

FRE error

Definition at line 193 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_IRQHandler().

#define HAL_SPI_ERROR_INVALID_CALLBACK   (0x00000080U)

Invalid Callback error

Definition at line 198 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_RegisterCallback(), and HAL_SPI_UnRegisterCallback().

#define HAL_SPI_ERROR_MODF   (0x00000001U)

MODF error

Definition at line 190 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_IRQHandler().

#define HAL_SPI_ERROR_NONE   (0x00000000U)
#define HAL_SPI_ERROR_OVR   (0x00000004U)

OVR error

Definition at line 192 of file stm32f4xx_hal_spi.h.

Referenced by HAL_SPI_IRQHandler().