ATmega88PA Automotive Atmel Corporation, ATmega88PA Automotive Datasheet - Page 143

no-image

ATmega88PA Automotive

Manufacturer Part Number
ATmega88PA Automotive
Description
Manufacturer
Atmel Corporation
18. 8-bit Timer/Counter2 with PWM and Asynchronous Operation
18.1
18.2
9223B–AVR–09/11
Features
Overview
Timer/Counter2 is a general purpose, single channel, 8-bit Timer/Counter module. A simplified
block diagram of the 8-bit Timer/Counter is shown in
I/O pins, refer to
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
The PRTIM2 bit in
enable Timer/Counter2 module.
Figure 18-1. 8-bit Timer/Counter Block Diagram
Single 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 32kHz Watch Crystal Independent of the I/O Clock
Atmel ATmega48PA/88PA/168PA [Preliminary]
“Pinout Atmel
Timer/Counter
“Minimizing Power Consumption” on page 42
TCCRnA
OCRnA
TCNTn
OCRnB
=
=
®
Direction
Count
Clear
ATmega48PA/88PA/168PA” on page
“Register Description” on page
Control Logic
TOP
=
TCCRnB
Value
BOTTOM
Fixed
TOP
clk
=
Tn
Figure
0
18-1. For the actual placement of
OCnA
(Int.Req.)
OCnB
(Int.Req.)
158.
TOVn
(Int.Req.)
Clock Select
Generation
Generation
( From Prescaler )
Waveform
Waveform
Detector
must be written to zero to
Edge
2. CPU accessible I/O
OCnA
OCnB
Tn
143

Related parts for ATmega88PA Automotive