68 uint32_t tx_pin, uint32_t rx_pin, uint32_t rts_pin, uint32_t cts_pin,
97void uart_set_pins(uint32_t uart, uint32_t rx, uint32_t tx, uint32_t cts, uint32_t rts)
#define __GPIO2PIN(x)
This is an approximation of log2.
#define PERIPH_TRIGGER_TASK(task)
#define GPIO_UNCONNECTED
Mark the signal as not connected to any pin.
#define UART_TASK_STOPRX(uart)
#define UART_PSELRXD(uart)
#define UART_ENABLE(uart)
#define UART_TASK_STARTRX(uart)
#define UART_PSELTXD(uart)
#define UART_PSELCTS(uart)
#define UART_ENABLE_ENABLED
#define UART_BAUDRATE(uart)
#define UART_ENABLE_DISABLED
#define UART_CONFIG(uart)
#define UART_CONFIG_PARITY
#define UART_TASK_STARTTX(uart)
#define UART_TASK_STOPTX(uart)
#define UART_PSELRTS(uart)
void uart_disable(uint32_t uart)
Disable the peripheral.
void uart_set_parity(uint32_t uart, int parity)
void uart_set_pins(uint32_t uart, uint32_t rx, uint32_t tx, uint32_t cts, uint32_t rts)
Select GPIO pins to be used by this peripheral.
void uart_stop_tx(uint32_t uart)
uint16_t uart_recv(uint32_t uart)
void uart_set_baudrate(uint32_t uart, enum uart_baud br)
void uart_stop_rx(uint32_t uart)
void uart_set_flow_control(uint32_t uart, int flow)
void uart_send(uint32_t uart, uint16_t byte)
void uart_enable(uint32_t uart)
Enable the peripheral.
void uart_start_tx(uint32_t uart)
void uart_configure(uint32_t uart, uint32_t tx_pin, uint32_t rx_pin, uint32_t rts_pin, uint32_t cts_pin, enum uart_baud br, bool enable_parity)
Configure UART parameters in single call.
void uart_start_rx(uint32_t uart)