Hrm, I think there's a translation barrier here, as I don't quite understand what you are asking.
LUFA works via polling for more circumstances, but unlike V-USB it polls the USB hardware in the AVR processor, rather than directly bit-banging the USB data lines like V-USB. As a result, you don't need to have a very regular and explicit timing on the *_Task() functions - just call them in your main loop as often as you like. As long as you call HID_Task() and USB_USBTask() at least every few milliseconds, it should "just work".
If your project has very tight timing requirements for other functions, like a software bit-bang UART, you should use the hardware timers and interrupts to manage it, and just keep the LUFA update functions called in your `main()` inside an infinite loop.
A good starter example project is the USBtoSerial converter, at
- this uses the main() function to poll the LUFA update functions
(to manage the USB connection) along with USART interrupts from
the hardware USART (to handle the serial communications). The
USART is interrupt driven as the project needs to quickly save any
received bytes into a buffer, so that they can be sent to the host
PC over USB at a later point in time, once the PC asks for new
You received this message because you are subscribed to the Google Groups "LUFA Library Support List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lufa-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lufa-support/85b04840-92ad-4d67-a13c-9ffce657fc36n%40googlegroups.com.