#include <uart.h>
Definition at line 42 of file uart.h.
◆ uart_mode_t
Enumerator |
---|
MODE_8N1 | |
MODE_8E2 | |
Definition at line 45 of file uart.h.
◆ UART()
◆ DMA_Rx_IRQ_callback()
void UART::DMA_Rx_IRQ_callback |
( |
| ) |
|
◆ DMA_Tx_IRQ_callback()
void UART::DMA_Tx_IRQ_callback |
( |
| ) |
|
◆ flush()
◆ init()
◆ init_DMA()
◆ init_NVIC()
◆ init_UART()
◆ put_byte()
void UART::put_byte |
( |
uint8_t |
ch | ) |
|
|
overridevirtual |
◆ read_byte()
uint8_t UART::read_byte |
( |
| ) |
|
|
overridevirtual |
◆ register_rx_callback()
void UART::register_rx_callback |
( |
void(*)(uint8_t data) |
cb | ) |
|
|
overridevirtual |
◆ rx_bytes_waiting()
uint32_t UART::rx_bytes_waiting |
( |
| ) |
|
|
overridevirtual |
◆ set_mode()
bool UART::set_mode |
( |
uint32_t |
baud, |
|
|
uart_mode_t |
mode |
|
) |
| |
◆ startDMA()
◆ tx_buffer_empty()
bool UART::tx_buffer_empty |
( |
| ) |
|
|
overridevirtual |
◆ tx_bytes_free()
uint32_t UART::tx_bytes_free |
( |
| ) |
|
|
overridevirtual |
◆ unregister_rx_callback()
void UART::unregister_rx_callback |
( |
| ) |
|
|
overridevirtual |
◆ USART_IRQ_callback()
void UART::USART_IRQ_callback |
( |
| ) |
|
◆ write()
void UART::write |
( |
const uint8_t * |
ch, |
|
|
uint8_t |
len |
|
) |
| |
|
overridevirtual |
◆ baudrate_
◆ c_
◆ rx_buffer_
◆ rx_buffer_head_
uint16_t UART::rx_buffer_head_ |
|
private |
◆ rx_buffer_tail_
uint16_t UART::rx_buffer_tail_ |
|
private |
◆ rx_pin_
◆ tx_buffer_
◆ tx_buffer_head_
uint16_t UART::tx_buffer_head_ |
|
private |
◆ tx_buffer_tail_
uint16_t UART::tx_buffer_tail_ |
|
private |
◆ tx_pin_
The documentation for this class was generated from the following files: