APM:Libraries
|
#include <usart.h>
Public Attributes | |
USART_TypeDef * | USARTx |
uint32_t | clk |
IRQn_Type | irq |
uint8_t | rx_pin |
uint8_t | tx_pin |
uint8_t | gpio_af |
usart_state * | state |
ring_buffer * | rxrb |
ring_buffer * | txrb |
uint32_t usart_dev::clk |
Definition at line 36 of file usart.h.
Referenced by usart_init().
uint8_t usart_dev::gpio_af |
Definition at line 40 of file usart.h.
Referenced by F4Light::UARTDriver::begin().
IRQn_Type usart_dev::irq |
Definition at line 37 of file usart.h.
Referenced by usart_setup().
uint8_t usart_dev::rx_pin |
Definition at line 38 of file usart.h.
Referenced by F4Light::UARTDriver::begin().
ring_buffer* usart_dev::rxrb |
RX ring buffer
Definition at line 42 of file usart.h.
Referenced by usart_data_available(), usart_getc(), usart_reset_rx(), usart_rx_irq(), and usart_setup().
usart_state* usart_dev::state |
Definition at line 41 of file usart.h.
Referenced by usart_disable(), usart_enable(), usart_is_used(), usart_reset_tx(), usart_rx_irq(), usart_set_callback(), usart_setup(), usart_tx(), and usart_tx_irq().
uint8_t usart_dev::tx_pin |
Definition at line 39 of file usart.h.
Referenced by F4Light::UARTDriver::begin().
ring_buffer* usart_dev::txrb |
TX ring buffer
Definition at line 43 of file usart.h.
Referenced by usart_reset_tx(), usart_setup(), usart_tx(), usart_tx_irq(), usart_txfifo_freebytes(), and usart_txfifo_nbytes().
USART_TypeDef* usart_dev::USARTx |
Register map
Definition at line 35 of file usart.h.
Referenced by usart_disable(), usart_enable(), usart_init(), usart_rx_irq(), usart_setup(), usart_tx(), and usart_tx_irq().