18#ifndef __VSF_USART_H__
19#define __VSF_USART_H__
23#if VSF_HAL_USE_USART == ENABLED
24#include "../../__device.h"
vsf_usart_mode_t
Definition uart.h:32
em_gpio_reg_rw_t
Definition uart.c:60
em_clk_reg_rw_t
Definition uart.c:51
unsigned int uint32_t
Definition lvgl.h:43
unsigned char uint8_t
Definition lvgl.h:40
Definition vsf_template_hal_driver.h:196
Definition vsf_template_usart.h:726
uint32_t read_sizecounter
Definition vsf_usart.h:107
uint32_t write_sizecounter
Definition vsf_usart.h:106
vsf_usart_event_t event_tx
Definition vsf_usart.h:111
uint32_t read_size
Definition vsf_usart.h:105
bool is_loading
Definition vsf_usart.h:109
uint32_t write_size
Definition vsf_usart.h:104
bool is_writing
Definition vsf_usart.h:108
vsf_usart_event_t event_send
Definition vsf_usart.h:113
usart_event_status_t event_mask
Definition vsf_usart.h:115
uint8_t * read_buffer_ptr
Definition vsf_usart.h:103
vsf_usart_event_t event_rcv
Definition vsf_usart.h:112
uint8_t * write_buffer_ptr
Definition vsf_usart.h:102
USART_TypeDef * reg_ptr
Definition vsf_usart.h:98
vsf_usart_status_t event_status
Definition vsf_usart.h:114
IRQn_Type USART_IRQn
Definition vsf_usart.h:99
vsf_usart_event_t event_rx
Definition vsf_usart.h:110
@ VSF_USART_8_BIT_LENGTH
Definition vsf_usart.h:49
@ VSF_USART_EVEN_PARITY
Definition vsf_usart.h:56
@ VSF_USART_ODD_PARITY
Definition vsf_usart.h:57
@ VSF_USART_NO_PARITY
Definition vsf_usart.h:55
@ VSF_USART_RTS_HWCONTROL
Definition vsf_usart.h:60
@ USART_TX_RX_MODE
Definition vsf_usart.h:66
@ VSF_USART_9_BIT_LENGTH
Definition vsf_usart.h:50
@ VSF_USART_1_STOPBIT
Definition vsf_usart.h:52
@ USART_TX_MODE
Definition vsf_usart.h:65
@ VSF_USART_2_STOPBIT
Definition vsf_usart.h:53
@ VSF_USART_CTS_HWCONTROL
Definition vsf_usart.h:61
@ USART_RX_MODE
Definition vsf_usart.h:64
@ VSF_USART_RTS_CTS_HWCONTROL
Definition vsf_usart.h:62
@ VSF_USART_NO_HWCONTROL
Definition vsf_usart.h:59
@ USART1_GPIO_MODE_CLEAR
Definition vsf_usart.h:37
@ USART2_GPIO_MODE
Definition vsf_usart.h:41
@ USART1_GPIO_MODE
Definition vsf_usart.h:38
@ USART3_GPIO_MODE
Definition vsf_usart.h:44
@ USART3_GPIO_MODE_CLEAR
Definition vsf_usart.h:43
@ USART2_GPIO_MODE_CLEAR
Definition vsf_usart.h:40
@ GPIOA_CLK_EN
Definition vsf_usart.h:32
@ USART2_CLK_EN
Definition vsf_usart.h:29
@ USART1_CLK_EN
Definition vsf_usart.h:28
@ GPIOB_CLK_EN
Definition vsf_usart.h:33
@ USART3_CLK_EN
Definition vsf_usart.h:30
em_usart_reg_rw_t
Definition vsf_usart.h:69
@ USART_SR_RXNE_FULL
Definition vsf_usart.h:74
@ USART_EN
Definition vsf_usart.h:70
@ USART_CR1_RXNEIE_DISEN
Definition vsf_usart.h:81
@ USART_DISEN
Definition vsf_usart.h:71
@ USART_SR_TXE_TRUE
Definition vsf_usart.h:76
@ USART_CR1_RXNEIE_EN
Definition vsf_usart.h:80
@ USART_CR1_TXEIE_EN
Definition vsf_usart.h:78
@ USART_SR_IDLE_FREE
Definition vsf_usart.h:73
@ USART_CR1_TXEIE_DISEN
Definition vsf_usart.h:79
@ USART_SR_TC_TRUE
Definition vsf_usart.h:75