Enumerations
Enumerations
Peripheral Driver » APP DRIVER » SPI
Collaboration diagram for Enumerations:

## Enumerations
enum | app_spi_id_t { APP_SPI_ID_SLAVE, APP_SPI_ID_MASTER, APP_SPI_ID_MAX }
| SPI module Enumerations definition. More...
enum | app_spi_evt_type_t { APP_SPI_EVT_ERROR, APP_SPI_EVT_TX_CPLT, APP_SPI_EVT_RX_CPLT, APP_SPI_EVT_TX_RX_CPLT, APP_SPI_EVT_ABORT }
| SPI event Enumerations definition. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ app_spi_evt_type_t

enum app_spi_evt_type_t

SPI event Enumerations definition.

Enumerator
APP_SPI_EVT_ERROR | Error reported by UART peripheral.
APP_SPI_EVT_TX_CPLT | Requested TX transfer completed.
APP_SPI_EVT_RX_CPLT | Requested RX transfer completed.
APP_SPI_EVT_TX_RX_CPLT | Requested TX/RX transfer completed.
APP_SPI_EVT_ABORT | Abort reported by SPI peripheral.

Definition at line 93 of file app_spi.h.

## ◆ app_spi_id_t

enum app_spi_id_t

SPI module Enumerations definition.

Enumerator
APP_SPI_ID_SLAVE | SPI slave module.
APP_SPI_ID_MASTER | SPI master module.
APP_SPI_ID_MAX | Only for check parameter, not used as input parameters.

Definition at line 82 of file app_spi.h.