Re: Simplify USB transfer submission

2013-04-11 Thread Martin Pieuchot
On 10/04/13(Wed) 16:24, Martin Pieuchot wrote: > To submit a USB transfer, you generally use one of the variant of > usbd_setup_xfer() coupled with one of the variant of usbd_transfer(). > > But if you're lazy or don't care about the non-default options you > can use one of the variant of usbd_d

Simplify USB transfer submission

2013-04-10 Thread Martin Pieuchot
To submit a USB transfer, you generally use one of the variant of usbd_setup_xfer() coupled with one of the variant of usbd_transfer(). But if you're lazy or don't care about the non-default options you can use one of the variant of usbd_do_request() that mostly do the two previous steps for you