atmega3250v-8auatmega325v-8ai ATMEL Corporation, atmega3250v-8auatmega325v-8ai Datasheet - Page 84

no-image

atmega3250v-8auatmega325v-8ai

Manufacturer Part Number
atmega3250v-8auatmega325v-8ai
Description
Atmega3250 8-bit Microcontroller With In-system Programmable Flash
Manufacturer
ATMEL Corporation
15. 8-bit Timer/Counter0 with PWM
15.1
15.2
15.2.1
84
Features
Overview
ATmega325/3250/645/6450
Definitions
Timer/Counter0 is a general purpose, single compare unit, 8-bit Timer/Counter module. The
main features are:
A simplified block diagram of the 8-bit Timer/Counter is shown in
placement of I/O pins, refer to
ATmega325/645” on page
shown in bold. The device-specific I/O Register and bit locations are listed in the
Description” on page
Figure 15-1. 8-bit Timer/Counter Block Diagram
Many register and bit references in this section are written in general form. A lower case “n”
replaces the Timer/Counter number, in this case 0. A lower case “x” replaces the Output Com-
pare unit number, in this case unit A. However, when using the register or bit defines in a
program, the precise form must be used, i.e., TCNT0 for accessing Timer/Counter0 counter
value and so on.
Single Compare Unit Counter
Clear Timer on Compare Match (Auto Reload)
Glitch-free, Phase Correct Pulse Width Modulator (PWM)
Frequency Generator
External Event Counter
10-bit Clock Prescaler
Overflow and Compare Match Interrupt Sources (TOV0 and OCF0A)
Timer/Counter
TCNTn
OCRn
=
95.
3. CPU accessible I/O Registers, including I/O bits and I/O pins, are
direction
count
clear
BOTTOM
= 0
“Pinout ATmega3250/6450” on page 2
Control Logic
=
TCCRn
TOP
0xFF
clk
Tn
Generation
Waveform
Clock Select
( From Prescaler )
Detector
Edge
Figure
15-1. For the actual
and
OCn
(Int.Req.)
2570L–AVR–08/07
TOVn
(Int.Req.)
OCn
Tn
“Register
“Pinout

Related parts for atmega3250v-8auatmega325v-8ai