Enumerations
HAL SPI state
Peripheral Driver » HAL Driver » SPI » Enumerations

## Enumerations
enum | hal_spi_state_t { HAL_SPI_STATE_RESET = 0x00, HAL_SPI_STATE_READY = 0x01, HAL_SPI_STATE_BUSY = 0x02, HAL_SPI_STATE_BUSY_TX = 0x12, HAL_SPI_STATE_BUSY_RX = 0x22, HAL_SPI_STATE_BUSY_TX_RX = 0x32, HAL_SPI_STATE_ABORT = 0x08, HAL_SPI_STATE_ERROR = 0x04 }
| HAL SPI State Enumerations definition. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ hal_spi_state_t

enum hal_spi_state_t

HAL SPI State Enumerations definition.

Enumerator
HAL_SPI_STATE_RESET | Peripheral not initialized.
HAL_SPI_STATE_READY | Peripheral initialized and ready for use.
HAL_SPI_STATE_BUSY | An internal process is ongoing.
HAL_SPI_STATE_BUSY_TX | Data Transmission process is ongoing.
HAL_SPI_STATE_BUSY_RX | Data Reception process is ongoing.
HAL_SPI_STATE_BUSY_TX_RX | Data Transmission and Reception process is ongoing.
HAL_SPI_STATE_ABORT | Peripheral with abort request ongoing.
HAL_SPI_STATE_ERROR | Peripheral in error.

Definition at line 76 of file hal_spi.h.