STM32H735xx HAL User Manual
Defines
SPI Error Codes
SPI Exported Constants

Defines

#define HAL_SPI_ERROR_NONE   (0x00000000UL)
#define HAL_SPI_ERROR_MODF   (0x00000001UL)
#define HAL_SPI_ERROR_CRC   (0x00000002UL)
#define HAL_SPI_ERROR_OVR   (0x00000004UL)
#define HAL_SPI_ERROR_FRE   (0x00000008UL)
#define HAL_SPI_ERROR_DMA   (0x00000010UL)
#define HAL_SPI_ERROR_FLAG   (0x00000020UL)
#define HAL_SPI_ERROR_ABORT   (0x00000040UL)
#define HAL_SPI_ERROR_UDR   (0x00000080UL)
#define HAL_SPI_ERROR_TIMEOUT   (0x00000100UL)
#define HAL_SPI_ERROR_UNKNOW   (0x00000200UL)
#define HAL_SPI_ERROR_NOT_SUPPORTED   (0x00000400UL)
#define HAL_SPI_ERROR_RELOAD   (0x00000800UL)
#define HAL_SPI_ERROR_INVALID_CALLBACK   (0x00001000UL)

Define Documentation

#define HAL_SPI_ERROR_ABORT   (0x00000040UL)

Error during SPI Abort procedure

Definition at line 278 of file stm32h7xx_hal_spi.h.

Referenced by HAL_SPI_Abort(), HAL_SPI_Abort_IT(), and HAL_SPI_IRQHandler().

#define HAL_SPI_ERROR_CRC   (0x00000002UL)

CRC error

Definition at line 273 of file stm32h7xx_hal_spi.h.

Referenced by SPI_CloseTransfer().

#define HAL_SPI_ERROR_DMA   (0x00000010UL)

DMA transfer error

Definition at line 276 of file stm32h7xx_hal_spi.h.

Referenced by HAL_SPI_Receive_DMA(), HAL_SPI_Transmit_DMA(), HAL_SPI_TransmitReceive_DMA(), and SPI_DMAError().

#define HAL_SPI_ERROR_FLAG   (0x00000020UL)

Error on RXP/TXP/DXP/FTLVL/FRLVL Flag

Definition at line 277 of file stm32h7xx_hal_spi.h.

Referenced by HAL_SPI_Receive(), HAL_SPI_Transmit(), and HAL_SPI_TransmitReceive().

#define HAL_SPI_ERROR_FRE   (0x00000008UL)

FRE error

Definition at line 275 of file stm32h7xx_hal_spi.h.

Referenced by HAL_SPI_IRQHandler(), and SPI_CloseTransfer().

#define HAL_SPI_ERROR_INVALID_CALLBACK   (0x00001000UL)

Invalid Callback error

Definition at line 285 of file stm32h7xx_hal_spi.h.

Referenced by HAL_SPI_RegisterCallback(), and HAL_SPI_UnRegisterCallback().

#define HAL_SPI_ERROR_MODF   (0x00000001UL)

MODF error

Definition at line 272 of file stm32h7xx_hal_spi.h.

Referenced by HAL_SPI_IRQHandler(), and SPI_CloseTransfer().

#define HAL_SPI_ERROR_NONE   (0x00000000UL)
#define HAL_SPI_ERROR_NOT_SUPPORTED   (0x00000400UL)

Requested operation not supported

Definition at line 282 of file stm32h7xx_hal_spi.h.

Referenced by HAL_SPI_DMAPause(), HAL_SPI_DMAResume(), and HAL_SPI_DMAStop().

#define HAL_SPI_ERROR_OVR   (0x00000004UL)

OVR error

Definition at line 274 of file stm32h7xx_hal_spi.h.

Referenced by HAL_SPI_IRQHandler(), and SPI_CloseTransfer().

#define HAL_SPI_ERROR_RELOAD   (0x00000800UL)

Reload error

Definition at line 283 of file stm32h7xx_hal_spi.h.

#define HAL_SPI_ERROR_TIMEOUT   (0x00000100UL)

Timeout error

Definition at line 280 of file stm32h7xx_hal_spi.h.

Referenced by HAL_SPI_Receive(), HAL_SPI_Transmit(), and HAL_SPI_TransmitReceive().

#define HAL_SPI_ERROR_UDR   (0x00000080UL)

Underrun error

Definition at line 279 of file stm32h7xx_hal_spi.h.

Referenced by HAL_SPI_IRQHandler(), and SPI_CloseTransfer().

#define HAL_SPI_ERROR_UNKNOW   (0x00000200UL)

Unknown error

Definition at line 281 of file stm32h7xx_hal_spi.h.