From 5de9c6727130a98c01f2f1977ba7e1baec2043cc Mon Sep 17 00:00:00 2001 From: bstanwell Date: Wed, 19 Aug 2026 17:40:20 +1000 Subject: [PATCH] Created USB_Desc to alter USB Config Errors --- usbDesc.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/usbDesc.h b/usbDesc.h index 5cc2140..0b598cd 100644 --- a/usbDesc.h +++ b/usbDesc.h @@ -1,3 +1,17 @@ +enum USB_bDescriptorType { + DESCRIPTOR_DEVICE = 0x1, + DESCRIPTOR_CONFIGURATION = 0x2, + DESCRIPTOR_CONFIGURATION = 0x4, + DESCRIPTOR_ENDPOINT = 0x5 +}; + +enum USB_Type_BCD { + USB20 = 0x0200, + USB11 = 0x0110, + USB10 = 0x0100 +}; + + enum USB_PID { // Token Packets