OpenCores
URL https://opencores.org/ocsvn/usb_fpga_1_2/usb_fpga_1_2/trunk

Subversion Repositories usb_fpga_1_2

[/] [usb_fpga_1_2/] [trunk/] [libusbJava-src/] [ch/] [ntb/] [usb/] [Usb_Descriptor.java] - Diff between revs 2 and 8

Show entire file | Details | Blame | View Log

Rev 2 Rev 8
Line 12... Line 12...
 *
 *
 */
 */
public class Usb_Descriptor {
public class Usb_Descriptor {
 
 
        /**
        /**
         * Descriptor types ({@link #bDescriptorType}).
         * Descriptor types.
         */
         */
        public static final int USB_DT_DEVICE = 0x01, USB_DT_CONFIG = 0x02,
        public static final int USB_DT_DEVICE = 0x01, USB_DT_CONFIG = 0x02,
                        USB_DT_STRING = 0x03, USB_DT_INTERFACE = 0x04,
                        USB_DT_STRING = 0x03, USB_DT_INTERFACE = 0x04,
                        USB_DT_ENDPOINT = 0x05;
                        USB_DT_ENDPOINT = 0x05;
 
 
        /**
        /**
         * Descriptor types ({@link #bDescriptorType}).
         * Descriptor types.
         */
         */
        public static final int USB_DT_HID = 0x21, USB_DT_REPORT = 0x22,
        public static final int USB_DT_HID = 0x21, USB_DT_REPORT = 0x22,
                        USB_DT_PHYSICAL = 0x23, USB_DT_HUB = 0x29;
                        USB_DT_PHYSICAL = 0x23, USB_DT_HUB = 0x29;
 
 
        /**
        /**
         * Descriptor sizes per descriptor type ({@link #bLength}).
         * Descriptor sizes per descriptor type.
         */
         */
        public static final int USB_DT_DEVICE_SIZE = 18, USB_DT_CONFIG_SIZE = 9,
        public static final int USB_DT_DEVICE_SIZE = 18, USB_DT_CONFIG_SIZE = 9,
                        USB_DT_INTERFACE_SIZE = 9, USB_DT_ENDPOINT_SIZE = 7,
                        USB_DT_INTERFACE_SIZE = 9, USB_DT_ENDPOINT_SIZE = 7,
                        USB_DT_ENDPOINT_AUDIO_SIZE = 9 /* Audio extension */,
                        USB_DT_ENDPOINT_AUDIO_SIZE = 9 /* Audio extension */,
                        USB_DT_HUB_NONVAR_SIZE = 7;
                        USB_DT_HUB_NONVAR_SIZE = 7;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.