#include <vcp.h>
Definition at line 19 of file vcp.h.
◆ begin_write()
void VCP::begin_write |
( |
| ) |
|
◆ connected()
◆ end_write()
◆ flush()
◆ in_bulk_mode()
bool VCP::in_bulk_mode |
( |
| ) |
|
◆ init()
◆ perform_maintenance()
void VCP::perform_maintenance |
( |
| ) |
|
|
private |
◆ put_byte()
void VCP::put_byte |
( |
uint8_t |
ch | ) |
|
|
overridevirtual |
◆ read_byte()
uint8_t VCP::read_byte |
( |
| ) |
|
|
overridevirtual |
◆ register_rx_callback()
void VCP::register_rx_callback |
( |
void(*)(uint8_t data) |
rx_callback_ptr | ) |
|
|
overridevirtual |
◆ rx_bytes_waiting()
uint32_t VCP::rx_bytes_waiting |
( |
| ) |
|
|
overridevirtual |
◆ send_disconnect_signal()
void VCP::send_disconnect_signal |
( |
| ) |
|
|
private |
◆ set_baud_rate()
bool VCP::set_baud_rate |
( |
uint32_t |
baud | ) |
|
◆ tx_buffer_empty()
bool VCP::tx_buffer_empty |
( |
| ) |
|
|
overridevirtual |
◆ tx_bytes_free()
uint32_t VCP::tx_bytes_free |
( |
| ) |
|
|
overridevirtual |
◆ unregister_rx_callback()
void VCP::unregister_rx_callback |
( |
| ) |
|
|
overridevirtual |
◆ write()
void VCP::write |
( |
const uint8_t * |
ch, |
|
|
uint8_t |
len |
|
) |
| |
|
overridevirtual |
◆ bulk_mode
Definition at line 49 of file vcp.h.
◆ bulk_mode_buffer
uint8_t VCP::bulk_mode_buffer[64] |
|
private |
Definition at line 47 of file vcp.h.
◆ bulk_mode_buffer_index
uint8_t VCP::bulk_mode_buffer_index |
|
private |
Definition at line 48 of file vcp.h.
◆ cb_
std::function<void(uint8_t)> VCP::cb_ |
Definition at line 38 of file vcp.h.
◆ connected_
bool VCP::connected_ = false |
Definition at line 39 of file vcp.h.
◆ reset_
Definition at line 40 of file vcp.h.
◆ rx_pin_
Definition at line 51 of file vcp.h.
◆ tx_pin_
Definition at line 52 of file vcp.h.
◆ vbus_sens_
Definition at line 53 of file vcp.h.
The documentation for this class was generated from the following files: