USB Descriptors.
Go to the source code of this file.
Functions | |
uint16_t * | USBDescriptor_UnicodeUID () |
Fetch a pointer to the USB serial number. More... | |
const USB_DEVICE_INIT * | USBDescriptor_GetDeviceConfig () |
Fetch a pointer to the USB device initialization structure. More... | |
const USB_DEVICE_INIT* USBDescriptor_GetDeviceConfig | ( | ) |
Fetch a pointer to the USB device initialization structure.
uint16_t* USBDescriptor_UnicodeUID | ( | ) |
Fetch a pointer to the USB serial number.
The length of the buffer will be at least UID_LENGTH * 2 + 1, enough to hold a string representation of a UID.