as I promised a few posts ago, I still need your help. I'm completing the study of timers and PWM wave generation. In particular, I am approaching the understanding of phase correct PWM. It is quite clear to me for this type of PWM as the value of the TOP is fixed. But I really can't understand mode 11 in Table 16-5.Waveform Generation mode reported in the datasheet (Atmega164A...). Since the TOP is set by OCR1A, it is not possible to change the state on the OC1A pin.
Please give me clarification and maybe an example code that makes the way of working even more understandable.
Thank you so much.