Descriptors.h File Reference
#include <tusb.h>
#include <Delegate.h>
#include <WString.h>
#include <Print.h>
Include dependency graph for Descriptors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  USB::Descriptor
 Structure of a USB descriptor. More...
 
union  USB::Descriptor::Type
 
struct  USB::DescriptorList
 Buffer containing list of descriptors. More...
 
class  USB::DescriptorList::Iterator
 
struct  USB::StringDescriptor< max_chars >
 Template for making a USB string descriptor. More...
 

Namespaces

 USB
 

Typedefs

using USB::GetDeviceDescriptor = Delegate< const tusb_desc_device_t *(const tusb_desc_device_t &desc)>
 Callback to support provision of dynamic device descriptors. More...
 
using USB::GetDescriptorString = Delegate< const Descriptor *(uint8_t index)>
 Application-provided callback to customise string responses. More...
 

Functions

void USB::onGetDeviceDescriptor (GetDeviceDescriptor callback)
 
void USB::onGetDescriptorSting (GetDescriptorString callback)