STM32L486xx 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 225 of file stm32l4xx_hal_spi.h.

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

#define HAL_SPI_ERROR_CRC   (0x00000002U)
#define HAL_SPI_ERROR_DMA   (0x00000010U)

DMA transfer error

Definition at line 223 of file stm32l4xx_hal_spi.h.

Referenced by SPI_DMAError().

#define HAL_SPI_ERROR_FLAG   (0x00000020U)
#define HAL_SPI_ERROR_FRE   (0x00000008U)

FRE error

Definition at line 222 of file stm32l4xx_hal_spi.h.

Referenced by HAL_SPI_IRQHandler().

#define HAL_SPI_ERROR_INVALID_CALLBACK   (0x00000080U)

Invalid Callback error

Definition at line 227 of file stm32l4xx_hal_spi.h.

Referenced by HAL_SPI_RegisterCallback(), and HAL_SPI_UnRegisterCallback().

#define HAL_SPI_ERROR_MODF   (0x00000001U)

MODF error

Definition at line 219 of file stm32l4xx_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 221 of file stm32l4xx_hal_spi.h.

Referenced by HAL_SPI_IRQHandler().