The ISR address must be good otherwise it wouldn't go to the service routine. D ----- Original Message ----- From: "Mark Jordan" <mark@cpovo.net> To: <AVR-Chat@yahoogroups.com> Sent: Sunday, August 21, 2005 10:15 PM Subject: Re: [AVR-Chat] mega 168 > On 21 Aug 2005 at 21:45, Dennis wrote: > >> What I am saying is the next instruction is not being executed. In an >> interrupt driven system, a loop is waiting for the interrupt. When it >> happens the process continues from the instruction following the loop. It >> doesn't go back to the loop, or not supposed to. >> D > > That would happen only if the ISR mess with the Stack. > Other way the processor stays inside the loop. > > I have used loops waiting for some flag that was changed > inside the ISR. > > Mark > > > > > > > Yahoo! Groups Links > > > > > > >
Message
Re: [AVR-Chat] mega 168
2005-08-22 by Dennis
Attachments
- No local attachments were found for this message.