public interface UsbEndpoint
| Modifier and Type | Method and Description |
|---|---|
byte |
getDirection()
Get this endpoint's direction.
|
byte |
getType()
Get this endpoint's type.
|
UsbEndpointDescriptor |
getUsbEndpointDescriptor()
Get the descriptor for this UsbEndpoint.
|
UsbInterface |
getUsbInterface()
Get the parent UsbInterface that this UsbEndpoint belongs to.
|
UsbPipe |
getUsbPipe()
Get the UsbPipe for this UsbEndpoint.
|
UsbInterface getUsbInterface()
UsbEndpointDescriptor getUsbEndpointDescriptor()
The descriptor may be cached.
byte getDirection()
This is the logical AND of the
direction mask and the
endpoint descriptor's
address.
UsbConst.ENDPOINT_DIRECTION_IN,
UsbConst.ENDPOINT_DIRECTION_OUTbyte getType()
This is the logical AND of the
type mask and the
endpoint descriptor's
attributes.
UsbConst.ENDPOINT_TYPE_CONTROL,
UsbConst.ENDPOINT_TYPE_BULK,
UsbConst.ENDPOINT_TYPE_INTERRUPT,
UsbConst.ENDPOINT_TYPE_ISOCHRONOUSUsbPipe getUsbPipe()
This is the only method of communication to this endpoint.