Not understanding usbFunctionInterrupt()

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
Talib
Posts: 10
Joined: Fri Oct 22, 2010 12:10 pm

Not understanding usbFunctionInterrupt()

Post by Talib » Thu May 23, 2013 12:44 pm

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

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

Re: Not understanding usbFunctionInterrupt()

Post by ulao » Tue Jun 25, 2013 3:58 pm

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.

Post Reply