Continuous output pulses vs. PWM
I don't understand the difference between OCM<2:0> mode 110 (PWM mode) and mode 101 (initialize low, then continuous output pulses).
In either mode you can get a variable duty cycle PWM output by setting up the peripheral and then changing just one register to change the duty cycle.
So why are they both there? Is there some advantage to using one mode vs. the other?
In mode 110 (PWM) you'd set:
PRx = the PWM period
OCxRS = pulse "high" period
OCxR = OCxRS
In mode 101 (continuous output pulses) you'd set:
PRx = the PWM period
TMRx = PRx value
OCxR = 0
OCxRS = pulse "high" period
Other than the initialization procedure, what's the difference?