On Mon, Mar 28, 2005 at 10:55:50AM -0800, al boehnlein wrote: [...] > The documentation is not clear to me, as to what > happens if I get an interrupt on my quadrature sensors > while I am in the LCD ISR. How much time are you spending in the LCD ISR? I've seen many cases where somebody went off and wrote their entire program in ISR(s). It was quite a mess. With few exceptions one should only jump in and back out as quickly as possible in the ISR. Leave the number crunching in "user" time outside of IRQ time. Summarizing what others have said, while the I bit is disabled pending IRQs are not cached but they will pile up. Only one per source can pile up, all others from the same source will be lost. Once the I bit is enabled pending IRQs will be dispatched based on the priority Atmel defined in the user manual. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.
Message
Re: [AVR-Chat] Missing interupts
2005-03-28 by David Kelly
Attachments
- No local attachments were found for this message.