ATmega325PA Atmel Corporation, ATmega325PA Datasheet - Page 109

no-image

ATmega325PA

Manufacturer Part Number
ATmega325PA
Description
Manufacturer
Atmel Corporation
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega325PA-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega325PA-AUR
Manufacturer:
Atmel
Quantity:
10 000
16. 16-bit Timer/Counter1
16.1
16.2
8285D–AVR–06/11
Features
Overview
ATmega165A/PA/325A/PA/3250A/PA/645A/P/6450A/P
The 16-bit Timer/Counter unit allows accurate program execution timing (event management),
wave generation, and signal timing measurement. Most register and bit references in this sec-
tion are written in general form. A lower case “n” replaces the Timer/Counter number, and a
lower case “x” replaces the Output Compare unit number. However, when using the register or
bit defines in a program, the precise form must be used, i.e., TCNT1 for accessing
Timer/Counter1 counter value and so on.
A simplified block diagram of the 16-bit Timer/Counter is shown in
p l a c e m e n t o f I / O p i n s , r e f e r t o
ATmega165A/ATmega165PA/ATmega325A/ATmega325PA/ATmega645A/ATmega645P” on
page
device-specific I/O Register and bit locations are listed in the
130.
The PRTIM1 bit in
enable Timer/Counter1 module
True 16-bit Design (i.e., Allows 16-bit PWM)
Two independent Output Compare Units
Double Buffered Output Compare Registers
One Input Capture Unit
Input Capture Noise Canceler
Clear Timer on Compare Match (Auto Reload)
Glitch-free, Phase Correct Pulse Width Modulator (PWM)
Variable PWM Period
Frequency Generator
External Event Counter
Four independent interrupt Sources (TOV1, OCF1A, OCF1B, and ICF1)
2. CPU accessible I/O Registers, including I/O bits and I/O pins, are shown in bold. The
”PRR – Power Reduction Register” on page 45
” 6 4 A ( T Q F P ) a n d 6 4 M 1 ( Q F N / M L F ) P i n o u t
”Register Description” on page
Figure
must be written to zero to
16-1. For the actual
109

Related parts for ATmega325PA