Package ch.ntb.usb

Class Usb_Descriptor

    • Field Detail

      • USB_DT_INTERFACE

        public static final int USB_DT_INTERFACE
        Descriptor types.
        See Also:
        Constant Field Values
      • USB_DT_ENDPOINT

        public static final int USB_DT_ENDPOINT
        Descriptor types.
        See Also:
        Constant Field Values
      • USB_DT_PHYSICAL

        public static final int USB_DT_PHYSICAL
        Descriptor types.
        See Also:
        Constant Field Values
      • USB_DT_DEVICE_SIZE

        public static final int USB_DT_DEVICE_SIZE
        Descriptor sizes per descriptor type.
        See Also:
        Constant Field Values
      • USB_DT_CONFIG_SIZE

        public static final int USB_DT_CONFIG_SIZE
        Descriptor sizes per descriptor type.
        See Also:
        Constant Field Values
      • USB_DT_INTERFACE_SIZE

        public static final int USB_DT_INTERFACE_SIZE
        Descriptor sizes per descriptor type.
        See Also:
        Constant Field Values
      • USB_DT_ENDPOINT_SIZE

        public static final int USB_DT_ENDPOINT_SIZE
        Descriptor sizes per descriptor type.
        See Also:
        Constant Field Values
      • USB_DT_ENDPOINT_AUDIO_SIZE

        public static final int USB_DT_ENDPOINT_AUDIO_SIZE
        Descriptor sizes per descriptor type.
        See Also:
        Constant Field Values
      • USB_DT_HUB_NONVAR_SIZE

        public static final int USB_DT_HUB_NONVAR_SIZE
        Descriptor sizes per descriptor type.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Usb_Descriptor

        public Usb_Descriptor()
    • Method Detail

      • getBDescriptorType

        public byte getBDescriptorType()
        Get the type of this descriptor.
        Returns:
        the type of this descriptor
      • getBLength

        public byte getBLength()
        Get the size of this descriptor in bytes.
        Returns:
        the size of this descriptor in bytes