Hey, joey--Are you still on your hot streak?
In https://www.avrfreaks.net/comment... we were discussing CTC and FOC and natural compare matches.
Then in https://www.avrfreaks.net/comment... a somewhat related question about output compare made me notice the 01 setting combination of the COM bits in Fast PWM.
I never really paid attention to that combination. Apparently, it turns Fast PWM into CTC, and only affects the A output (???). Do you think this is just the way the chip logic came out for an otherwise unused/meaningless combination?
It does serve to offset the action which in CTC mode would be at TOP, to an arbitrary point in the timer period. Is that the use?
From 16-bit Timer1, Mega164PA family datasheet:
For 8-bit Timer0 in the same family, it is even more confusing to me:
That would then be modes 4-7, right? Modes 4 and 6 are thunks. As modes 5 and 7 have OCR0A as TOP, doesn't the combination then degenerate to CTC?