usb_get_default_pipe

usb_get_default_pipe — Obtains the default pipe on an endpoint

Synopsis

usb_pipe_t* usb_get_default_pipe( void* device,
   void* controller,
   struct usb_endpoint_s** endpoint);

Arguments

device pointer to device struct
controller pointer to controler struct
endpoint pointer to store endpoint reference for the pipe

Description

Obtains the default pipe on an endpoint