Atmel 161 interupts

Nov 23, 2003 0 Replies

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 -

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required