Page 1 of 1

Understanding USB better to use V-USB

Posted: Sun Aug 13, 2017 6:12 am
by NewbeeV-USB
Hi I want to know how USB read, write and interrupt handling is done in USB. Which function is used for what purpose. Please help with any tutorial which explains everything of USB and also using v-usb to perform these tasks. Thank you.

Re: Understanding USB better to use V-USB

Posted: Sun Aug 13, 2017 5:11 pm
by ulao
use the wiki for a nice read up
http://vusb.wikidot.com/driver-api

the usb read and write are when the data needs to be done in chunks. From the setup you return USB_NO_MSG so the driver can use those read write functions. You must also set the define in the usb config.

Re: Understanding USB better to use V-USB

Posted: Sun Aug 13, 2017 9:32 pm
by horo
Very extensive documentation: USB in a NutShell, Making sense of the USB standard.
Ciao, Martin