Atmel 161 interupts

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

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 -

Site Timeline