Package ch.ntb.usb

Class Usb_Interface


  • public class Usb_Interface
    extends java.lang.Object
    Represents an USB interface.
    An interface is a group of alternate settings of a configuration.
    • Field Detail

      • USB_MAXALTSETTING

        public static final int USB_MAXALTSETTING
        Maximal number of alternate settings
        See Also:
        Constant Field Values
    • Constructor Detail

      • Usb_Interface

        public Usb_Interface()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getAltsetting

        public Usb_Interface_Descriptor[] getAltsetting()
        Retuns an array of interface descriptors.
        Returns:
        an array of interface descriptors
      • getNumAltsetting

        public int getNumAltsetting()
        Returns the number of alternate settings.
        Returns:
        the number of alternate settings