+
+void
+USB_DeviceSetVendorId (uint16_t vid)
+{
+ g_UsbDeviceDescriptor[8] = (vid >> 0) & 0xff;
+ g_UsbDeviceDescriptor[9] = (vid >> 8) & 0xff;
+}
+
+void
+USB_DeviceSetProductId (uint16_t pid)
+{
+ g_UsbDeviceDescriptor[10] = (pid >> 0) & 0xff;
+ g_UsbDeviceDescriptor[11] = (pid >> 8) & 0xff;
+}