|
libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/lm4f/uart.h>#include <libopencm3/lm4f/systemcontrol.h>#include <libopencm3/lm4f/rcc.h>
Go to the source code of this file.
Functions | |
| void | uart_enable (uint32_t uart) |
| Enable the UART. More... | |
| void | uart_disable (uint32_t uart) |
| Disable the UART. More... | |
| void | uart_set_baudrate (uint32_t uart, uint32_t baud) |
| Set UART baudrate. More... | |
| void | uart_set_databits (uint32_t uart, uint8_t databits) |
| Set UART databits. More... | |
| void | uart_set_stopbits (uint32_t uart, uint8_t stopbits) |
| Set UART stopbits. More... | |
| void | uart_set_parity (uint32_t uart, enum uart_parity parity) |
| Set UART parity. More... | |
| void | uart_set_flow_control (uint32_t uart, enum uart_flowctl flow) |
| Set the flow control scheme. More... | |
| void | uart_clock_from_piosc (uint32_t uart) |
| Clock the UART module from the internal oscillator. More... | |
| void | uart_clock_from_sysclk (uint32_t uart) |
| Clock the UART module from the system clock. More... | |
| void | uart_send (uint32_t uart, uint16_t data) |
| UART Send a Data Word. More... | |
| uint16_t | uart_recv (uint32_t uart) |
| UART Read a Received Data Word. More... | |
| void | uart_wait_send_ready (uint32_t uart) |
| UART Wait for Transmit Data Buffer Not Full. More... | |
| void | uart_wait_recv_ready (uint32_t uart) |
| UART Wait for Received Data Available. More... | |
| void | uart_send_blocking (uint32_t uart, uint16_t data) |
| UART Send Data Word with Blocking. More... | |
| uint16_t | uart_recv_blocking (uint32_t uart) |
| UART Read a Received Data Word with Blocking. More... | |
| void | uart_enable_interrupts (uint32_t uart, enum uart_interrupt_flag ints) |
| Enable Specific UART Interrupts. More... | |
| void | uart_disable_interrupts (uint32_t uart, enum uart_interrupt_flag ints) |
| Enable Specific UART Interrupts. More... | |
| void | uart_enable_rx_interrupt (uint32_t uart) |
| Enable the UART Receive Interrupt. More... | |
| void | uart_disable_rx_interrupt (uint32_t uart) |
| Disable the UART Receive Interrupt. More... | |
| void | uart_enable_tx_interrupt (uint32_t uart) |
| Enable the UART Transmit Interrupt. More... | |
| void | uart_disable_tx_interrupt (uint32_t uart) |
| Disable the UART Transmit Interrupt. More... | |
| void | uart_clear_interrupt_flag (uint32_t uart, enum uart_interrupt_flag ints) |
| Mark interrupt as serviced. More... | |
| void | uart_enable_rx_dma (uint32_t uart) |
| Enable the UART Receive DMA. More... | |
| void | uart_disable_rx_dma (uint32_t uart) |
| Disable the UART Receive DMA. More... | |
| void | uart_enable_tx_dma (uint32_t uart) |
| Enable the UART Transmit DMA. More... | |
| void | uart_disable_tx_dma (uint32_t uart) |
| Disable the UART Transmit DMA. More... | |
| void | uart_enable_fifo (uint32_t uart) |
| Enable FIFO for the UART. More... | |
| void | uart_disable_fifo (uint32_t uart) |
| Disable FIFO for the UART. More... | |
| void | uart_set_fifo_trigger_levels (uint32_t uart, enum uart_fifo_rx_trigger_level rx_level, enum uart_fifo_tx_trigger_level tx_level) |
| Set the FIFO trigger levels. More... | |