TIFR3 seems to be = 15 permanently, can not reset #318
Replies: 1 comment
-
To clear interrupt flags in TIFR3 you have to set them to 1, not zero. It will help you getting the registers right. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
.. even immediately after i set TIFR3 = 0 ;
So, how can i use ISR instruction to make a variable frequency generator?
If i set TCCR3A at random moment there are a possibility to have TCNT3 > TCCR3A even i try to decrement TCCR3A with 1, so, there will be a period with a wrong length.
I trying to use ISR to modify TCCR3A at TCNT3 = 0 or closer (i have a minimum value of TCCR3A anyway, so let it be 10 or even 100), but...
Beta Was this translation helpful? Give feedback.
All reactions