Go to the source code of this file.
|
enum | vsf_usart_mode_t {
VSF_USART_8_BIT_LENGTH = (0x3ul << 0)
,
VSF_USART_7_BIT_LENGTH = (0x2ul << 0)
,
VSF_USART_6_BIT_LENGTH = (0x1ul << 0)
,
VSF_USART_5_BIT_LENGTH = (0x0ul << 0)
,
VSF_USART_1_STOPBIT = (0x0ul << 2)
,
VSF_USART_2_STOPBIT = (0x1ul << 2)
,
VSF_USART_1_5_STOPBIT = (0x1ul << 2)
,
VSF_USART_NO_PARITY = (0x0ul << 3)
,
VSF_USART_ODD_PARITY = (0x1ul << 3)
,
VSF_USART_EVEN_PARITY = (0x3ul << 3)
,
VSF_USART_9_BIT_LENGTH = (0x1ul << 24)
,
VSF_USART_FORCE_0_PARITY = (0x1ul << 25)
,
VSF_USART_FORCE_1_PARITY = (0x2ul << 25)
,
VSF_USART_NO_HWCONTROL = (0x0ul << 28)
,
VSF_USART_RTS_HWCONTROL = (0x1ul << 28)
,
VSF_USART_CTS_HWCONTROL = (0x2ul << 28)
,
VSF_USART_RTS_CTS_HWCONTROL = (0x3ul << 28)
,
VSF_USART_TX_ENABLE = (0x1ul << 30)
,
VSF_USART_TX_DISABLE = (0x0ul << 30)
,
VSF_USART_RX_ENABLE = (0x1ul << 31)
,
VSF_USART_RX_DISABLE = (0x0ul << 31)
,
AIR105_VSF_USART_BIT_LENGTH_MASK
,
AIR105_VSF_USART_STOPBIT_MASK
,
AIR105_VSF_USART_PARITY_MASK
,
AIR105_USART_MODE_ALL_BITS_MASK
} |
|
enum | vsf_usart_irq_mask_t {
VSF_USART_IRQ_MASK_RX = (1 << 0)
,
VSF_USART_IRQ_MASK_TX = (1 << 1)
,
AIR105_USART_IRQ_MASK_FIFO = VSF_USART_IRQ_MASK_RX | VSF_USART_IRQ_MASK_TX
,
VSF_USART_IRQ_MASK_RX_TIMEOUT = (1 << 8)
,
VSF_USART_IRQ_MASK_RX_CPL = (0x1ul << 26)
,
VSF_USART_IRQ_MASK_TX_CPL = (0x1ul << 27)
,
VSF_USART_IRQ_MASK_FRAME_ERR = (0x1ul << 28)
,
VSF_USART_IRQ_MASK_PARITY_ERR = (0x1ul << 29)
,
VSF_USART_IRQ_MASK_BREAK_ERR = (0x1ul << 30)
,
VSF_USART_IRQ_MASK_OVERFLOW_ERR = (0x1ul << 31)
,
AIR105_USART_IRQ_MASK
} |
|
◆ VSF_USART_CFG_REIMPLEMENT_TYPE_MODE
#define VSF_USART_CFG_REIMPLEMENT_TYPE_MODE ENABLED |
◆ VSF_USART_CFG_REIMPLEMENT_TYPE_IRQ_MASK
#define VSF_USART_CFG_REIMPLEMENT_TYPE_IRQ_MASK ENABLED |
◆ vsf_usart_mode_t
◆ vsf_usart_irq_mask_t
◆ vsf_usart_mode_t
Enumerator |
---|
VSF_USART_8_BIT_LENGTH | |
VSF_USART_7_BIT_LENGTH | |
VSF_USART_6_BIT_LENGTH | |
VSF_USART_5_BIT_LENGTH | |
VSF_USART_1_STOPBIT | |
VSF_USART_2_STOPBIT | |
VSF_USART_1_5_STOPBIT | |
VSF_USART_NO_PARITY | |
VSF_USART_ODD_PARITY | |
VSF_USART_EVEN_PARITY | |
VSF_USART_9_BIT_LENGTH | |
VSF_USART_FORCE_0_PARITY | |
VSF_USART_FORCE_1_PARITY | |
VSF_USART_NO_HWCONTROL | |
VSF_USART_RTS_HWCONTROL | |
VSF_USART_CTS_HWCONTROL | |
VSF_USART_RTS_CTS_HWCONTROL | |
VSF_USART_TX_ENABLE | |
VSF_USART_TX_DISABLE | |
VSF_USART_RX_ENABLE | |
VSF_USART_RX_DISABLE | |
AIR105_VSF_USART_BIT_LENGTH_MASK | |
AIR105_VSF_USART_STOPBIT_MASK | |
AIR105_VSF_USART_PARITY_MASK | |
AIR105_USART_MODE_ALL_BITS_MASK | |
◆ vsf_usart_irq_mask_t
Enumerator |
---|
VSF_USART_IRQ_MASK_RX | |
VSF_USART_IRQ_MASK_TX | |
AIR105_USART_IRQ_MASK_FIFO | |
VSF_USART_IRQ_MASK_RX_TIMEOUT | |
VSF_USART_IRQ_MASK_RX_CPL | |
VSF_USART_IRQ_MASK_TX_CPL | |
VSF_USART_IRQ_MASK_FRAME_ERR | |
VSF_USART_IRQ_MASK_PARITY_ERR | |
VSF_USART_IRQ_MASK_BREAK_ERR | |
VSF_USART_IRQ_MASK_OVERFLOW_ERR | |
AIR105_USART_IRQ_MASK | |