Macros
SPI Error Code
Peripheral Driver » HAL Driver » SPI » Defines » SPI Exported Constants

## Macros
#define | HAL_SPI_ERROR_NONE ((uint32_t)0x00000000)
#define | HAL_SPI_ERROR_TIMEOUT ((uint32_t)0x00000001)
#define | HAL_SPI_ERROR_TRANSFER ((uint32_t)0x00000002)
#define | HAL_SPI_ERROR_DMA ((uint32_t)0x00000004)
#define | HAL_SPI_ERROR_INVALID_PARAM ((uint32_t)0x00000008)

## Detailed Description

## Macro Definition Documentation

## ◆ HAL_SPI_ERROR_DMA

#define HAL_SPI_ERROR_DMA ((uint32_t)0x00000004)

DMA transfer error

Definition at line 296 of file gr55xx_hal_spi.h.

## ◆ HAL_SPI_ERROR_INVALID_PARAM

#define HAL_SPI_ERROR_INVALID_PARAM ((uint32_t)0x00000008)

Invalid parameters error

Definition at line 297 of file gr55xx_hal_spi.h.

## ◆ HAL_SPI_ERROR_NONE

#define HAL_SPI_ERROR_NONE ((uint32_t)0x00000000)

No error

Definition at line 293 of file gr55xx_hal_spi.h.

## ◆ HAL_SPI_ERROR_TIMEOUT

#define HAL_SPI_ERROR_TIMEOUT ((uint32_t)0x00000001)

Timeout error

Definition at line 294 of file gr55xx_hal_spi.h.

## ◆ HAL_SPI_ERROR_TRANSFER

#define HAL_SPI_ERROR_TRANSFER ((uint32_t)0x00000002)

Transfer error

Definition at line 295 of file gr55xx_hal_spi.h.