developing Application software for a host to communicate with a USB device



Dear members,
I am developing an Application software in VC++ for a host
CPU to communicate with a device on USB. I have seen use of Createfile,
Writefile, & Readfile functions to communicate with the USB peripheral. My
question is How do we send IN or OUT token packets or SOF packets through
software? OR Is it automatically done when we use Readfile or Writefile
functions and do we just need to take care about the data only?

If we need to send the token packets by the software then how is it done?

Please Describe.

Thanks in advance
Faiyaz


.



Relevant Pages