Understanding USB better to use V-USB

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
NewbeeV-USB
Posts: 4
Joined: Sun Aug 13, 2017 5:28 am

Understanding USB better to use V-USB

Post by NewbeeV-USB » Sun Aug 13, 2017 6:12 am

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.

ulao
Rank 4
Rank 4
Posts: 481
Joined: Mon Aug 25, 2008 8:45 pm

Re: Understanding USB better to use V-USB

Post by ulao » Sun Aug 13, 2017 5:11 pm

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.

horo
Rank 2
Rank 2
Posts: 63
Joined: Tue Mar 04, 2008 2:26 pm
Location: Berlin & Lindau, Germany

Re: Understanding USB better to use V-USB

Post by horo » Sun Aug 13, 2017 9:32 pm

Very extensive documentation: USB in a NutShell, Making sense of the USB standard.
Ciao, Martin

Post Reply