libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Go to the source code of this file.
Functions | |
void | uart_enable (uint32_t uart) |
Enable the peripheral. More... | |
void | uart_disable (uint32_t uart) |
Disable the peripheral. More... | |
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. More... | |
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. More... | |
void | uart_set_baudrate (uint32_t uart, enum uart_baud br) |
void | uart_set_parity (uint32_t uart, int parity) |
void | uart_set_flow_control (uint32_t uart, int flow) |
void | uart_start_tx (uint32_t uart) |
void | uart_send (uint32_t uart, uint16_t byte) |
void | uart_stop_tx (uint32_t uart) |
void | uart_start_rx (uint32_t uart) |
uint16_t | uart_recv (uint32_t uart) |
void | uart_stop_rx (uint32_t uart) |