Page 1 of 1

Not understanding usbFunctionInterrupt()

Posted: Thu May 23, 2013 12:44 pm
by Talib
Hi

I am referring to the following document: http://vusb.wikidot.com/driver-api

And the following excerpt:

If your application sends notifications only, you don't care whether an unsent notification is lost. In this case you simply call usbFunctionInterrupt() without any checks.


Could someone clarify this please. I could not find a reference to usbFunctionInterrupt() anywhere in the source. And from how it sounds in the document you use it instead of usbSetInterrupt() or usbSetInterrupt3(), which endpoint is then used?

Thanks

Re: Not understanding usbFunctionInterrupt()

Posted: Tue Jun 25, 2013 3:58 pm
by ulao
If you have one endpoint and the default use usbSetInterrupt()
If you have two endpoint and the default use usbSetInterrupt3()

sorry I dont recall what usbFunctionInterrupt was for i'll report back if I recall.