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