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...
enum | app_spi_state_t { APP_SPI_INVALID = 0, APP_SPI_ACTIVITY }
| App spi state types. More...
enum | app_spi_dma_state_t { APP_SPI_DMA_INVALID = 0, APP_SPI_DMA_ACTIVITY }
| App spi dma state types. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ app_spi_dma_state_t

enum app_spi_dma_state_t

App spi dma state types.

Enumerator
APP_SPI_DMA_INVALID |
APP_SPI_DMA_ACTIVITY |

Definition at line 185 of file app_spi.h.

## ◆ 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.

## ◆ app_spi_state_t

enum app_spi_state_t

App spi state types.

Enumerator
APP_SPI_INVALID |
APP_SPI_ACTIVITY |

Definition at line 175 of file app_spi.h.