The Counter Counts From BOTTOM To TOP, or Defined by Either ICR1 or OCR1A
The Counter Counts From BOTTOM To TOP, or Defined by Either ICR1 or OCR1A
WGM13:0 = 5, 6, 7, 14, or 15
The counter counts from BOTTOM to TOP
The PWM resolution for fast PWM can be fixed to 8-, 9-, or 10-bit, or defined
by either ICR1 or OCR1A.
In fast PWM mode, the compare units allow generation of PWM waveforms on
the OC1x pins.
The PWM frequency for the output can be calculated by
fmax=fCPU/(N.256)
However, due to the symmetric feature of the dual-slope PWM modes, these
modes are preferred for motor control applications.
The PWM frequency for the output when using phase correct PWM can be
calculated by fmax=fCPU/(N.510)
Fast PWM Mode