ATmega88PA Automotive Atmel Corporation, ATmega88PA Automotive Datasheet - Page 93

no-image

ATmega88PA Automotive

Manufacturer Part Number
ATmega88PA Automotive
Description
Manufacturer
Atmel Corporation
15. 8-bit Timer/Counter0 with PWM
15.1
15.2
9223B–AVR–09/11
Features
Overview
Timer/Counter0 is a general purpose 8-bit Timer/Counter module, with two independent Out-
put Compare Units, and with PWM support. It allows accurate program execution timing
(event management) and wave generation.
A simplified block diagram of the 8-bit Timer/Counter is shown in
placement of I/O pins, refer to
accessible I/O Registers, including I/O bits and I/O pins, are shown in bold. The device-spe-
cific I/O Register and bit locations are listed in the
The PRTIM0 bit in
enable Timer/Counter0 module.
Figure 15-1. 8-bit Timer/Counter Block Diagram
Two Independent Output Compare Units
Double Buffered Output Compare Registers
Clear Timer on Compare Match (Auto Reload)
Glitch Free, Phase Correct Pulse Width Modulator (PWM)
Variable PWM Period
Frequency Generator
Three Independent Interrupt Sources (TOV0, OCF0A, and OCF0B)
Atmel ATmega48PA/88PA/168PA [Preliminary]
Timer/Counter
“Minimizing Power Consumption” on page 42
TCCRnA
OCRnA
TCNTn
OCRnB
=
=
Direction
“Pinout Atmel
Count
Clear
Control Logic
TOP
=
TCCRnB
®
Value
BOTTOM
Fixed
TOP
ATmega48PA/88PA/168PA” on page
“Register Description” on page
clk
=
Tn
0
OCnA
(Int.Req.)
OCnB
(Int.Req.)
TOVn
(Int.Req.)
Clock Select
Generation
Generation
( From Prescaler )
Waveform
Waveform
Detector
Figure
must be written to zero to
Edge
15-1. For the actual
104.
OCnA
OCnB
Tn
2. CPU
93

Related parts for ATmega88PA Automotive