Enumerations
Enumertations
Peripheral Driver » APP DRIVER » UART

## Enumerations
enum | app_uart_id_t { APP_UART_ID_0, APP_UART_ID_1, APP_UART_ID_MAX }
| UART module Enumerations definition. More...
enum | app_uart_type_t { APP_UART_TYPE_INTERRUPT, APP_UART_TYPE_POLLING, APP_UART_TYPE_DMA, APP_UART_TYPE_MAX }
| UART operating mode Enumerations definition. More...
enum | app_uart_evt_type_t { APP_UART_EVT_ERROR, APP_UART_EVT_TX_CPLT, APP_UART_EVT_RX_DATA, APP_UART_EVT_ABORT_TX, APP_UART_EVT_ABORT_RX }
| UART event Enumerations definition. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ app_uart_evt_type_t

enum app_uart_evt_type_t

UART event Enumerations definition.

Enumerator
APP_UART_EVT_ERROR | Error reported by UART peripheral.
APP_UART_EVT_TX_CPLT | Requested TX transfer completed.
APP_UART_EVT_RX_DATA | Requested RX transfer completed.
APP_UART_EVT_ABORT_TX | Requested TX abort completed.
APP_UART_EVT_ABORT_RX | Requested RX abort completed.

Definition at line 97 of file app_uart.h.

## ◆ app_uart_id_t

enum app_uart_id_t

UART module Enumerations definition.

Enumerator
APP_UART_ID_0 | UART module 0.
APP_UART_ID_1 | UART module 1.
APP_UART_ID_MAX | Only for check parameter, not used as input parameters.

Definition at line 76 of file app_uart.h.

## ◆ app_uart_type_t

enum app_uart_type_t

UART operating mode Enumerations definition.

Enumerator
APP_UART_TYPE_INTERRUPT | Interrupt operation mode.
APP_UART_TYPE_POLLING | Polling operation mode
APP_UART_TYPE_DMA | DMA operation mode
APP_UART_TYPE_MAX | Only for check parameter, not used as input parameters.

Definition at line 86 of file app_uart.h.