#include <CDCcomm.h>
Definition at line 15 of file CDCcomm.h.
◆ CDCcomm()
◆ ~CDCcomm()
◆ cdcFinished()
void CDCcomm::cdcFinished |
( |
uint8_t |
itf = 0 | ) |
|
|
static |
Global callback if cdc transfer is finished. Used to retry a failed transfer
Definition at line 31 of file CDCcomm.cpp.
◆ cdcSend()
uint16_t CDCcomm::cdcSend |
( |
std::string * |
reply, |
|
|
uint8_t |
itf |
|
) |
| |
|
static |
Sends a string via CDC If not everything can be sent it will be buffered for later in a new string
Definition at line 63 of file CDCcomm.cpp.
◆ clearRemainingBuffer()
void CDCcomm::clearRemainingBuffer |
( |
uint8_t |
itf = 0 | ) |
|
|
static |
◆ connected()
bool CDCcomm::connected |
( |
uint8_t |
itf = 0 | ) |
|
|
static |
◆ remainingData()
uint32_t CDCcomm::remainingData |
( |
uint8_t |
itf = 0 | ) |
|
|
static |
Checks if data is remaining in a buffer to be sent
Definition at line 44 of file CDCcomm.cpp.
◆ cdcSems
◆ remainingStrs
std::string CDCcomm::remainingStrs = {""} |
|
staticprivate |
◆ tString
std::string CDCcomm::tString |
|
staticprivate |
◆ usb_busy_retry
bool CDCcomm::usb_busy_retry = false |
|
staticprivate |
The documentation for this class was generated from the following files: