Enumerations
Enumerations
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_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, APP_UART_EVT_ABORT_TXRX }
| UART event Enumerations definition. More...
enum | app_uart_state_t { APP_UART_INVALID = 0, APP_UART_ACTIVITY }
| App uart state types. 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.
APP_UART_EVT_ABORT_TXRX | Requested TX, RX abort completed.

Definition at line 100 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 82 of file app_uart.h.

## ◆ app_uart_state_t

enum app_uart_state_t

App uart state types.

Enumerator
APP_UART_INVALID |
APP_UART_ACTIVITY |

Definition at line 111 of file app_uart.h.