diff options
-rw-r--r-- | usbh/src/usbproto.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/usbh/src/usbproto.rs b/usbh/src/usbproto.rs index 66b99ce..36edaad 100644 --- a/usbh/src/usbproto.rs +++ b/usbh/src/usbproto.rs @@ -304,7 +304,6 @@ pub enum DescriptorType { DeviceQualifier = 6, OtherSpeed = 7, InterfacePower = 8, - OTG = 9, } impl Default for DescriptorType { fn default() -> Self { @@ -312,26 +311,6 @@ impl Default for DescriptorType { } } -#[derive(Clone, Copy, Debug, PartialEq)] -pub enum HIDDescriptor { - HID = 0x21, -} - -#[derive(Clone, Copy, Debug, PartialEq)] -pub enum OTGFeature { - BHNPEnable = 3, - AHNPSupport = 4, - AAltHNPSupport = 5, -} - -#[derive(Clone, Copy, Debug, PartialEq)] -pub enum USBTransferType { - Control = 0x00, - Isochronous = 0x01, - Bulk = 0x02, - Interrupt = 0x03, -} - #[cfg(test)] mod test { use super::super::pipe::DataBuf; |