Initialize the pipe described by the device or endpoint descriptor
#include <sys/usbdi.h> int usbd_open_pipe( struct usbd_device *device, usbd_descriptors_t *desc, struct usbd_pipe **pipe );
libusbdi
You use the usbd_open_pipe() function to initialize the pipe described by the endpoint descriptor.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |