After working with timers for a bit I started wondering what the difference was between PWM, Fast PWM, CTC and other timer modes.
So with a couple of hours work testing the various modes with the logic analyzer, I present the findings below:
For example:
Phase-correct PWM:
Fast PWM:
The differences between "phase correct" and "fast" are:
- Phase correct has the cycles centered in the period, whereas with fast mode the edges line up
- Fast mode operates at twice the frequency (hence it's faster)
See the page mentioned above for example code, and screenshots of other modes.

