60 sbr = bd_clk / 2 + (bd_clk & 0x1);
81 reg8 = (reg8 & ~UART_PARITY_MASK) | parity;
100 reg8 = (reg8 & ~UART_FLOWCONTROL_MASK) | flowcontrol;
void uart_disable(uint32_t uart)
UART Disable.
void uart_set_baudrate(uint32_t uart, uint32_t baud)
UART Set Baudrate.
void uart_send(uint32_t uart, uint8_t data)
UART Send a Data Word.
void uart_wait_recv_ready(uint32_t uart)
UART Wait for Received Data Available.
uint8_t uart_recv(uint32_t uart)
UART Read a Received Data Word.
void uart_set_parity(uint32_t uart, uint8_t parity)
UART Set Parity.
void uart_wait_send_ready(uint32_t uart)
UART Wait for Transmit Data Buffer Empty.
void uart_enable(uint32_t uart)
UART Enable.
void uart_send_blocking(uint32_t uart, uint8_t data)
UART Send Data byte blocking.
uint8_t uart_recv_blocking(uint32_t uart)
UART Read a Received Data Word with Blocking.
void uart_set_flow_control(uint32_t uart, uint8_t flowcontrol)
UART Set Hardware Flow Control.
#define UART_BDH(uart_base)
#define UART_BDH_SBR_MASK
#define UART_MODEM(uart_base)
#define UART_BDL_SBR_MASK
#define UART_C1(uart_base)
#define UART_D(uart_base)
#define UART_S1(uart_base)
#define UART_BDL(uart_base)
#define UART_C2(uart_base)