Datasheet
22. 8-bit Timer/Counter2 (TC2) with PWM and Asynchronous Operation
22.1 Features
• Channel Counter
• Clear Timer on Compare Match (Auto Reload)
• Glitch-free, Phase Correct Pulse-Width Modulator (PWM)
• Frequency Generator
• 10-bit Clock Prescaler
• Overflow and Compare Match Interrupt Sources (TOV2, OCF2A, and OCF2B)
• Allows Clocking from External 32 kHz Watch Crystal Independent of the I/O Clock
22.2 Overview
Timer/Counter2 (TC2) is a general purpose, channel, 8-bit timer/counter module.
A simplified block diagram of the 8-bit timer/counter is shown below. CPU accessible I/O registers,
including I/O bits and I/O pins, are shown in bold. The device-specific I/O register and bit locations are
listed in the following register description. For the actual placement of I/O pins, refer to the pinout
diagram.
The TC2 is enabled when the PRTIM2 bit in the Power Reduction Register (PRR.PRTIM2) is written to
'1'.
ATmega48PA/88PA/168PA
8-bit Timer/Counter2 (TC2) with PWM and A...
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40002011A-page 199