WIP: usb host lib
This commit is contained in:
@@ -17,11 +17,16 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
|
||||
class SerialUSBHost
|
||||
{
|
||||
class SerialUSBHost {
|
||||
|
||||
public:
|
||||
SerialUSBHost(/* args */);
|
||||
SemaphoreHandle_t device_disconnected_sem;
|
||||
SerialUSBHost() = delete;
|
||||
static void init();
|
||||
|
||||
static void handle_event(const cdc_acm_host_dev_event_data_t *event, void *user_ctx);
|
||||
static bool handle_rx(const uint8_t *data, size_t data_len, void *arg);
|
||||
|
||||
static void takeSem();//XXX
|
||||
private:
|
||||
/**
|
||||
* @brief USB Host library handling task
|
||||
|
Reference in New Issue
Block a user