45 #if USB_DEVICE_VENDOR_ID == 0 46 # error USB_DEVICE_VENDOR_ID cannot be equal to 0 49 #if USB_DEVICE_PRODUCT_ID == 0 50 # error USB_DEVICE_PRODUCT_ID cannot be equal to 0 usb_iface_desc_t UDC_DESC_STORAGE * udc_get_interface_desc(void)
Returns a pointer on the current interface descriptor.
void udd_attach(void)
Attach device to the bus when possible.
Common API for USB Device Interface.
Common API for USB Device Drivers (UDD)
USB configuration file for CDC application.
void udc_start(void)
Start the USB Device stack.
USB protocol definitions.
void udd_send_remotewakeup(void)
The USB driver sends a resume signal called Upstream Resume.
static void udc_attach(void)
Attach device to the bus when possible.
Standard USB interface descriptor structure.
static void udc_detach(void)
Detaches the device from the bus.
static bool udc_include_vbus_monitoring(void)
Authorizes the VBUS event.
static void udc_remotewakeup(void)
The USB driver sends a resume signal called "Upstream Resume" This is authorized only when the remote...
bool udd_include_vbus_monitoring(void)
Authorizes the VBUS event.
void udd_detach(void)
Detaches the device from the bus.
#define UDC_DESC_STORAGE
Defines the memory's location of USB descriptors.
void udc_stop(void)
Stop the USB Device stack.