tinyusb
USB Device Core (USBD)

Modules

 Device Controller Driver (DCD)
 
#define ATTR_USB_MIN_ALIGNMENT   ATTR_ALIGNED(64)
 
tusbd_descriptor_pointer_t tusbd_descriptor_pointers
 
bool tusbd_is_configured (uint8_t coreid) ATTR_WARN_UNUSED_RESULT
 
enum  { USBD_INTERFACE_NUM_MAX = 16 }
 
enum  usbd_bus_event_type_t { USBD_BUS_EVENT_RESET = 1, USBD_BUS_EVENT_UNPLUGGED, USBD_BUS_EVENT_SUSPENDED, USBD_BUS_EVENT_RESUME }
 
usbd_device_info_t usbd_devices [CONTROLLER_DEVICE_NUMBER]
 
void usbd_dcd_bus_event_isr (uint8_t coreid, usbd_bus_event_type_t bus_event)
 
void usbd_setup_received_isr (uint8_t coreid, tusb_control_request_t *p_request)
 
void usbd_xfer_isr (endpoint_handle_t edpt_hdl, tusb_event_t event, uint32_t xferred_bytes)
 

Detailed Description

Variable Documentation

tusbd_descriptor_pointer_t tusbd_descriptor_pointers

Application MUST define this variable and initialize its pointers's member to all required USB descriptors including Device Descriptor, Configuration Descriptor, String Descriptors, HID Report Descriptors etc ...