UART device structure definition. More...
#include <app_uart.h>
Public Attributes | |
app_uart_evt_handler_t | evt_handler |
uart_handle_t | handle |
app_uart_pin_cfg_t * | p_pin_cfg |
dma_id_t | dma_id [2] |
app_uart_state_t | uart_state |
app_uart_dma_state_t | uart_dma_state |
ring_buffer_t | tx_ring_buffer |
uint8_t | tx_send_buf [TX_ONCE_MAX_SIZE] |
volatile bool | start_tx_flag |
volatile bool | start_flush_flag |
bool | tx_abort_flag |
bool | rx_abort_flag |
bool | is_dma_tx_mode |
UART device structure definition.
Definition at line 203 of file app_uart.h.
dma_id_t uart_env_t::dma_id[2] |
DMA id.
Definition at line 208 of file app_uart.h.
app_uart_evt_handler_t uart_env_t::evt_handler |
UART event callback.
Definition at line 205 of file app_uart.h.
uart_handle_t uart_env_t::handle |
UART handle Structure.
Definition at line 206 of file app_uart.h.
bool uart_env_t::is_dma_tx_mode |
dma tx mode.
Definition at line 217 of file app_uart.h.
app_uart_pin_cfg_t* uart_env_t::p_pin_cfg |
UART pins config Structures.
Definition at line 207 of file app_uart.h.
bool uart_env_t::rx_abort_flag |
rx abort flag.
Definition at line 216 of file app_uart.h.
volatile bool uart_env_t::start_flush_flag |
start flush flag.
Definition at line 214 of file app_uart.h.
volatile bool uart_env_t::start_tx_flag |
start tx flag.
Definition at line 213 of file app_uart.h.
bool uart_env_t::tx_abort_flag |
tx abort flag.
Definition at line 215 of file app_uart.h.
ring_buffer_t uart_env_t::tx_ring_buffer |
RING_BUFFER_STRUCT Structures.
Definition at line 211 of file app_uart.h.
uint8_t uart_env_t::tx_send_buf[TX_ONCE_MAX_SIZE] |
tx send buf.
Definition at line 212 of file app_uart.h.
app_uart_dma_state_t uart_env_t::uart_dma_state |
App uart dma state types.
Definition at line 210 of file app_uart.h.
app_uart_state_t uart_env_t::uart_state |
App uart state types.
Definition at line 209 of file app_uart.h.