Tech Support > Computer Hardware > Microprocessors > Atmel 161 interupts
Atmel 161 interupts
Posted by Hul Tytus on November 23rd, 2003


comp.arch.embedded
Atmel 161 interupts

With Atmel's AVR (specifically the 161), is there a way to sync an "sbi PORTC,
BIT0" instruction within an interupt handler to the signal that generated that
interupt? More specifically, this is the timer2 interupt handler generated by
timer2 in PWM mode. The difficulty seems to be caused by using the master
clock divided by 8 for the PWM's clock; reading the counter itself doesn't
provide the needed resolution.


Hul

- for email, place "keep" in the subject line to clear email filtering -
--
- for email, put the word "keep" in subject line -


Similar Posts