Timer 2 has both a prescaler and a postscaler. It can be used as the PWM time-base in addition to normal
timing activities. There is no external clock input so it is driven solely by the internal processor clock. The
prescaler functions just like the prescaler of the other two timers, Timer 0 and Timer 1, and can have prescale
values of 1:1, 1:4, and 1:16. The postscaler is used in a different fashion and gives the timer added flexibility.
The other two timers overflow when they reach 0xFF (Timer 0) and 0xFFFF (Timer 1). Timer 2, on the other
hand, overflows when its value matches the value in the PR2 register. The PR2 register, which defaults to
0xFF on reset, is readable and writeable. The output of the comparison between Timer 2 and PR2 is then
sent to the postscaler which can have postscale values from 1:1 to 1:16.
This gives the timer much more flexibility to time events, unlike Timer 0 where it was necessary to offset it
on each overflow when timing events that could not be mapped to a multiple of 0xFF timer ticks.