USB Device Controller (UDC) - Example code
Collaboration diagram for USB Device Controller (UDC) - Example code:

Common example code for all USB devices.

Content of conf_usb.h:

#define USB_DEVICE_VENDOR_ID 0x03EB
#define USB_DEVICE_PRODUCT_ID 0xXXXX
#define USB_DEVICE_MAJOR_VERSION 1
#define USB_DEVICE_MINOR_VERSION 0
#define USB_DEVICE_POWER 100
#define USB_DEVICE_ATTR USB_CONFIG_ATTR_BUS_POWERED

Add to application C-file:

void usb_init(void)
{
}


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:07