libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
usart_common_v2.c File Reference
Include dependency graph for usart_common_v2.c:

Go to the source code of this file.

Functions

void usart_enable_data_inversion (uint32_t usart)
 USART enable data inversion. More...
 
void usart_disable_data_inversion (uint32_t usart)
 USART disable data inversion. More...
 
void usart_enable_tx_inversion (uint32_t usart)
 USART Enable TX pin active level inversion. More...
 
void usart_disable_tx_inversion (uint32_t usart)
 USART Disable TX pin active level inversion. More...
 
void usart_enable_rx_inversion (uint32_t usart)
 USART Enable RX pin active level inversion. More...
 
void usart_disable_rx_inversion (uint32_t usart)
 USART Disable RX pin active level inversion. More...
 
void usart_enable_halfduplex (uint32_t usart)
 USART Enable Half-duplex. More...
 
void usart_disable_halfduplex (uint32_t usart)
 USART Disable Half-duplex. More...
 
void usart_set_rx_timeout_value (uint32_t usart, uint32_t value)
 USART Set receiver timeout value. More...
 
void usart_enable_rx_timeout (uint32_t usart)
 USART enable receive timeout function. More...
 
void usart_disable_rx_timeout (uint32_t usart)
 USART disable receive timeout function. More...
 
void usart_enable_rx_timeout_interrupt (uint32_t usart)
 USART enable receive timeout interrupt. More...
 
void usart_disable_rx_timeout_interrupt (uint32_t usart)
 USART disable receive timeout interrupt. More...
 
void usart_send (uint32_t usart, uint16_t data)
 USART Send a Data Word. More...
 
uint16_t usart_recv (uint32_t usart)
 USART Read a Received Data Word. More...
 
void usart_wait_send_ready (uint32_t usart)
 USART Wait for Transmit Data Buffer Empty. More...
 
void usart_wait_recv_ready (uint32_t usart)
 USART Wait for Received Data Available. More...
 
bool usart_get_flag (uint32_t usart, uint32_t flag)
 USART Read a Status Flag. More...