|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UsbEndpoint
Interface for a USB endpoint.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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_OUT
byte 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_ISOCHRONOUS
UsbPipe getUsbPipe()
This is the only method of communication to this endpoint.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |