Name

usb_endpoint_dir_in — check if the endpoint has IN direction

Synopsis

int usb_endpoint_dir_in (const struct usb_endpoint_descriptor * epd);
 

Arguments

epd

endpoint to be checked

Description

Returns true if the endpoint is of type IN, otherwise it returns false.