Name

usb_endpoint_type — get the endpoint's transfer type

Synopsis

int usb_endpoint_type (const struct usb_endpoint_descriptor * epd);
 

Arguments

epd

endpoint to be checked

Description

Returns one of USB_ENDPOINT_XFER_{CONTROL, ISOC, BULK, INT} according to epd's transfer type.