However, if two or more occur (of the same vector) you will lose information. With quadrature you need to insure your interrupt latency (i.e. duration that interrupts are disabled) is less than your minimum time between quadrature interrupts. 2000/sec is very slow, however. I routinely work with 40-100k/sec on an 8mhz mega16 processor. It isn't easy, but it can be done. Cheers! -----Original Message----- From: Richard Reeves > I assume they are turned off, but I am > wondering if an interrupt occurs while in the routine, > is it saved and executed latter, upon exit? Yes, the interrupt flags are set while you're in an ISR, and executed in the order that they appear in the interrupt vector table once the MCU is able to.
Message
RE: [AVR-Chat] Digest Number 985
2005-03-28 by Larry Barello
Attachments
- No local attachments were found for this message.