The Linux-USB Host Side API | ||
---|---|---|
<<< Previous | Next >>> |
the device whose current configuration+altsettings is considered
the desired endpoint, masked with USB_DIR_IN as appropriate.
This walks the device descriptor for the currently active configuration, and returns a pointer to the endpoint with that particular endpoint number, or null.
Note that interface descriptors are not required to list endpoint numbers in any standardized order, so that it would be wrong to assume that ep2in precedes either ep5in, ep2out, or even ep1out. This routine helps device drivers avoid such mistakes.
<<< Previous | Home | Next >>> |
usb_altnum_to_altsetting | Up | usb_driver_claim_interface |