--- In AVR-Chat@yahoogroups.com, "arhodes19044" <spamiam@c...> wrote: > The ATmega docs say that I just need to raise the OCF1C in ETIFR > and then the interrupt will be executed (on the next clock tick, I > suppose). As I read it, OCF1C is a flag that is set when the timer meets certain conditions and if the corresponding interrupt is enabled, the interrupt will occur. You can reset the flag by writing a 1 to it, just like (most of) the other such flags. You can force an output compare (FOC1C) but I think that that does not generate an interrupt. The docs say that that doing so does not assert OCF1C. Don
Message
Re: How to manually trigger a counter interrupt
2005-04-18 by Don Kinzer