Package ch.ntb.usb
Class Usb_Interface
- java.lang.Object
-
- ch.ntb.usb.Usb_Interface
-
public class Usb_Interface extends java.lang.ObjectRepresents an USB interface.
An interface is a group of alternate settings of a configuration.
-
-
Field Summary
Fields Modifier and Type Field Description static intUSB_MAXALTSETTINGMaximal number of alternate settings
-
Constructor Summary
Constructors Constructor Description Usb_Interface()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Usb_Interface_Descriptor[]getAltsetting()Retuns an array of interface descriptors.intgetNumAltsetting()Returns the number of alternate settings.java.lang.StringtoString()
-
-
-
Field Detail
-
USB_MAXALTSETTING
public static final int USB_MAXALTSETTING
Maximal number of alternate settings- See Also:
- Constant Field Values
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.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
-
-