Bouffalo SDK
1.0
Bouffalolab Software Development Kit
|
UART configuration structure. More...
#include <bflb_uart.h>
Data Fields | |
uint32_t | baudrate |
uint8_t | direction |
uint8_t | data_bits |
uint8_t | stop_bits |
uint8_t | parity |
uint8_t | bit_order |
uint8_t | flow_ctrl |
uint8_t | tx_fifo_threshold |
uint8_t | rx_fifo_threshold |
UART configuration structure.
baudrate | UART baudrate setting in bps,should be less than uart_clk/2 |
direction | UART direction, use uart direction enable definition |
data_bits | UART data bits, use uart data bits definition |
stop_bits | UART stop bits, use uart stop bits definition |
parity | UART parity bit, use uart parity definition |
bit_order | UART bit first, use uart bitorder definition |
flow_ctrl | UART flow control setting, use uart flow ctrl definition |
tx_fifo_threshold | UART tx fifo threshold, should be less than 32. |
rx_fifo_threshold | UART rx fifo threshold, should be less than 32. |
Definition at line 187 of file bflb_uart.h.
uint32_t baudrate |
Definition at line 188 of file bflb_uart.h.
uint8_t bit_order |
Definition at line 193 of file bflb_uart.h.
uint8_t data_bits |
Definition at line 190 of file bflb_uart.h.
uint8_t direction |
Definition at line 189 of file bflb_uart.h.
uint8_t flow_ctrl |
Definition at line 194 of file bflb_uart.h.
uint8_t parity |
Definition at line 192 of file bflb_uart.h.
uint8_t rx_fifo_threshold |
Definition at line 196 of file bflb_uart.h.
uint8_t stop_bits |
Definition at line 191 of file bflb_uart.h.
uint8_t tx_fifo_threshold |
Definition at line 195 of file bflb_uart.h.