#include <serial.h>
Definition at line 43 of file serial.h.
Enumerator |
---|
POLLING |
|
INTERRUPT |
|
DMA_TX |
|
DMA_RX |
|
Definition at line 46 of file serial.h.
virtual bool Serial::flush |
( |
| ) |
|
|
pure virtual |
virtual void Serial::put_byte |
( |
uint8_t |
ch | ) |
|
|
pure virtual |
virtual uint8_t Serial::read_byte |
( |
| ) |
|
|
pure virtual |
virtual void Serial::register_rx_callback |
( |
void(*)(uint8_t data) |
cb | ) |
|
|
pure virtual |
virtual uint32_t Serial::rx_bytes_waiting |
( |
| ) |
|
|
pure virtual |
virtual bool Serial::tx_buffer_empty |
( |
| ) |
|
|
pure virtual |
virtual uint32_t Serial::tx_bytes_free |
( |
| ) |
|
|
pure virtual |
virtual void Serial::unregister_rx_callback |
( |
| ) |
|
|
pure virtual |
virtual void Serial::write |
( |
const uint8_t * |
ch, |
|
|
uint8_t |
len |
|
) |
| |
|
pure virtual |
std::function<void(uint8_t)> Serial::receive_CB_ = nullptr |
|
protected |
The documentation for this class was generated from the following file: