18#ifndef __OSA_HAL_X86_WIN_USART_H__
19#define __OSA_HAL_X86_WIN_USART_H__
25#if VSF_HAL_USE_USART == ENABLED
32#define VSF_USART_CFG_REIMPLEMENT_TYPE_MODE ENABLED
33#define VSF_USART_CFG_REIMPLEMENT_TYPE_IRQ_MASK ENABLED
#define VSF_BIT(__N)
Definition __type.h:188
vsf_usart_mode_t
Definition uart.h:32
@ VSF_USART_TX_FIFO_THRESHOLD_EMPTY
Definition uart.h:75
@ VSF_USART_HALF_DUPLEX_DISABLE
Definition uart.h:72
@ VSF_USART_SYNC_CLOCK_ENABLE
Definition uart.h:69
@ VSF_USART_RX_FIFO_THRESHOLD_NOT_EMPTY
Definition uart.h:81
@ VSF_USART_SYNC_CLOCK_PHASE_1_EDGE
Definition uart.h:89
@ VSF_USART_10_BIT_LENGTH
Definition uart.h:50
@ VSF_USART_RX_FIFO_THRESHOLD_HALF_FULL
Definition uart.h:83
@ VSF_USART_RX_ENABLE
Definition uart.h:66
@ VSF_USART_FORCE_0_PARITY
Definition uart.h:52
@ VSF_USART_TX_FIFO_THRESHOLD_NOT_FULL
Definition uart.h:78
@ VSF_USART_TX_ENABLE
Definition uart.h:63
@ VSF_USART_SYNC_CLOCK_POLARITY_HIGH
Definition uart.h:88
@ VSF_USART_9_BIT_LENGTH
Definition uart.h:49
@ VSF_USART_1_STOPBIT
Definition uart.h:40
@ VSF_USART_FORCE_1_PARITY
Definition uart.h:53
@ VSF_USART_SYNC_CLOCK_POLARITY_LOW
Definition uart.h:87
@ VSF_USART_RX_DISABLE
Definition uart.h:67
@ VSF_USART_2_STOPBIT
Definition uart.h:41
@ VSF_USART_CTS_HWCONTROL
Definition uart.h:60
@ VSF_USART_5_BIT_LENGTH
Definition uart.h:37
@ VSF_USART_SYNC_CLOCK_DISABLE
Definition uart.h:70
@ VSF_USART_RTS_CTS_HWCONTROL
Definition uart.h:61
@ VSF_USART_SYNC_CLOCK_PHASE_2_EDGE
Definition uart.h:90
@ VSF_USART_HALF_DUPLEX_ENABLE
Definition uart.h:73
@ VSF_USART_TX_DISABLE
Definition uart.h:64
@ VSF_USART_RX_FIFO_THRESHOLD_FULL
Definition uart.h:85
@ VSF_USART_6_BIT_LENGTH
Definition uart.h:36
@ VSF_USART_0_5_STOPBIT
Definition uart.h:56
@ VSF_USART_TX_FIFO_THRESHOLD_HALF_EMPTY
Definition uart.h:76
vsf_usart_irq_mask_t
Definition uart.h:106
@ VSF_USART_IRQ_MASK_CTS
Definition uart.h:119
@ VSF_USART_EVEN_PARITY
Definition uart.h:42
@ VSF_USART_ODD_PARITY
Definition uart.h:43
@ VSF_USART_NO_PARITY
Definition uart.h:41
vsf_usart_mode_t
Definition uart.h:36
@ VSF_USART_8_BIT_LENGTH
Definition uart.h:38
@ VSF_USART_RTS_HWCONTROL
Definition uart.h:60
@ VSF_USART_7_BIT_LENGTH
Definition uart.h:39
@ VSF_USART_NO_HWCONTROL
Definition uart.h:59
@ VSF_USART_1_5_STOPBIT
Definition uart.h:46
vsf_usart_irq_mask_t
Definition uart.h:84
@ VSF_USART_IRQ_MASK_OVERFLOW_ERR
Definition uart.h:101
@ VSF_USART_IRQ_MASK_TX
Definition uart.h:87
@ VSF_USART_IRQ_MASK_BREAK_ERR
Definition uart.h:100
@ VSF_USART_IRQ_MASK_RX
Definition uart.h:86
@ VSF_USART_IRQ_MASK_RX_TIMEOUT
Definition uart.h:91
@ VSF_USART_IRQ_MASK_PARITY_ERR
Definition uart.h:99
@ VSF_USART_IRQ_MASK_FRAME_ERR
Definition uart.h:98
@ VSF_USART_IRQ_MASK_TX_CPL
Definition uart.h:35
@ VSF_USART_IRQ_MASK_RX_CPL
Definition uart.h:36
unsigned char uint8_t
Definition lvgl.h:40
Definition vsf_template_usart.h:726
uint8_t port
Definition uart.h:145
vsf_usart_t * instance
Definition uart.h:144
@ WIN_USART_MODE_ALL_BITS_MASK
Definition uart.h:111
@ WIN_USART_BIT_LENGTH_MASK
Definition uart.h:98
@ WIN_USART_PARITY_MASK
Definition uart.h:103
@ WIN_USART_STOPBIT_MASK
Definition uart.h:100
@ WIN_USART_HWCONTROL_MASK
Definition uart.h:106
@ VSF_USART_IRDA_DISABLE
Definition uart.h:96
@ VSF_USART_IRDA_ENABLE
Definition uart.h:95
@ VSF_USART_IRQ_MASK_TX_ERR
Definition uart.h:130
@ WIN_USART_IRQ_ALL_BITS_MASK
Definition uart.h:134
uint8_t vsf_win_usart_scan_devices(vsf_usart_win_device_t *devices, uint8_t device_num)
Definition uart.c:141