18#ifndef __VSF_USART_H__
19#define __VSF_USART_H__
25#if VSF_HAL_USE_USART == ENABLED
26#include "../__device.h"
129#if USART_MAX_PORT >= 0 && VSF_HAL_USE_USART0 == ENABLED
131extern const i_usart_t VSF_USART0;
136#if USART_MAX_PORT >= 1 && VSF_HAL_USE_USART1 == ENABLED
138extern const i_usart_t VSF_USART1;
vsf_usart_mode_t
Definition uart.h:32
vsf_usart_irq_mask_t
Definition uart.h:106
@ VSF_USART_NO_PARITY
Definition usart.h:111
@ VSF_USART_RX_ENABLE
Definition usart.h:96
@ VSF_USART_FORCE_0_PARITY
Definition usart.h:185
@ VSF_USART_TX_ENABLE
Definition usart.h:94
@ VSF_USART_9_BIT_LENGTH
Definition usart.h:133
@ VSF_USART_1_STOPBIT
Definition usart.h:89
@ VSF_USART_FORCE_1_PARITY
Definition usart.h:186
@ VSF_USART_2_STOPBIT
Definition usart.h:91
@ VSF_USART_8_BIT_LENGTH
Definition usart.h:43
@ VSF_USART_EVEN_PARITY
Definition usart.h:62
@ VSF_USART_ODD_PARITY
Definition usart.h:61
@ VSF_USART_7_BIT_LENGTH
Definition usart.h:44
@ VSF_USART_5_BIT_LENGTH
Definition usart.h:46
@ VSF_USART_6_BIT_LENGTH
Definition usart.h:45
@ VSF_USART_IRQ_MASK_TX_CPL
Definition usart.h:90
@ VSF_USART_IRQ_MASK_TX
Definition usart.h:88
@ VSF_USART_IRQ_MASK_RX
Definition usart.h:87
@ VSF_USART_IRQ_MASK_ERROR
Definition usart.h:95
@ VSF_USART_IRQ_MASK_RX_TIMEOUT
Definition usart.h:98
@ VSF_USART_IRQ_MASK_RX_CPL
Definition usart.h:89
@ VSF_USART_IRQ_MASK_OVERFLOW_ERR
Definition usart.h:210
@ VSF_USART_IRQ_MASK_BREAK_ERR
Definition usart.h:209
@ VSF_USART_IRQ_MASK_PARITY_ERR
Definition usart.h:192
@ VSF_USART_IRQ_MASK_FRAME_ERR
Definition usart.h:208
unsigned int uint32_t
Definition lvgl.h:43
Definition vsf_template_hal_driver.h:196
uint32_t cts
Definition vsf_pl011_uart.h:135
uint32_t value
Definition usart.h:283
Definition vsf_template_usart.h:726
@ USART_SYNC_MODE
Definition usart.h:80
@ USART_CTS_EN
Definition usart.h:61
@ USART_TX_FIFO_THRES_1_4
Definition usart.h:66
@ USART_RX_FIFO_THRES_1_8
Definition usart.h:70
@ USART_SAMPLE_RATE_16X
Definition usart.h:79
@ USART_RTS_EN
Definition usart.h:60
@ USART_TX_FIFO_THRES_3_4
Definition usart.h:68
@ USART_RX_FIFO_THRES_3_4
Definition usart.h:73
@ USART_SYNC_CLKOUT_EN
Definition usart.h:82
@ USART_RX_FIFO_THRES_1_4
Definition usart.h:71
@ USART_TX_FIFO_THRES_7_8
Definition usart.h:69
@ USART_SAMPLE_RATE_8X
Definition usart.h:78
@ USART_ASYNC_MODE
Definition usart.h:81
@ USART_LOOPBACK_EN
Definition usart.h:64
@ USART_RX_FIFO_THRES_7_8
Definition usart.h:74
@ USART_TX_FIFO_THRES_1_8
Definition usart.h:65
@ USART_RX_FIFO_THRES_1_2
Definition usart.h:72
@ USART_TX_FIFO_THRES_1_2
Definition usart.h:67
@ VSF_USART_IRQ_MASK_TX_FIFO_EMPTY
Definition usart.h:124