Macros
SPI Error Code
Peripheral Driver » HAL Driver » SPI » CS Signal Description » 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 290 of file gr533x_hal_spi.h.

## ◆ HAL_SPI_ERROR_INVALID_PARAM

#define HAL_SPI_ERROR_INVALID_PARAM ((uint32_t)0x00000008)

Invalid parameters error

Definition at line 291 of file gr533x_hal_spi.h.

## ◆ HAL_SPI_ERROR_NONE

#define HAL_SPI_ERROR_NONE ((uint32_t)0x00000000)

No error

Definition at line 287 of file gr533x_hal_spi.h.

## ◆ HAL_SPI_ERROR_TIMEOUT

#define HAL_SPI_ERROR_TIMEOUT ((uint32_t)0x00000001)

Timeout error

Definition at line 288 of file gr533x_hal_spi.h.

## ◆ HAL_SPI_ERROR_TRANSFER

#define HAL_SPI_ERROR_TRANSFER ((uint32_t)0x00000002)

Transfer error

Definition at line 289 of file gr533x_hal_spi.h.