ATMEGA328P-20PU Atmel, ATMEGA328P-20PU Datasheet - Page 414

no-image

ATMEGA328P-20PU

Manufacturer Part Number
ATMEGA328P-20PU
Description
Manufacturer
Atmel
Datasheet

Specifications of ATMEGA328P-20PU

Cpu Family
ATmega
Device Core
AVR
Device Core Size
8b
Frequency (max)
20MHz
Interface Type
SPI/TWI/USART
Program Memory Type
Flash
Program Memory Size
32KB
Total Internal Ram Size
2KB
# I/os (max)
23
Number Of Timers - General Purpose
3
Operating Supply Voltage (typ)
3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
2.7V
On-chip Adc
6-chx10-bit
Instruction Set Architecture
RISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Through Hole
Pin Count
28
Package Type
PDIP
Lead Free Status / Rohs Status
Compliant
8025K–AVR–10/09
13 I/O-Ports .................................................................................................. 72
14 8-bit Timer/Counter0 with PWM ............................................................ 91
15 16-bit Timer/Counter1 with PWM ........................................................ 110
16 Timer/Counter0 and Timer/Counter1 Prescalers .............................. 138
17 8-bit Timer/Counter2 with PWM and Asynchronous Operation ...... 141
13.1Overview ...............................................................................................................72
13.2Ports as General Digital I/O ...................................................................................73
13.3Alternate Port Functions ........................................................................................77
13.4Register Description ..............................................................................................89
14.1Features ................................................................................................................91
14.2Overview ...............................................................................................................91
14.3Timer/Counter Clock Sources ...............................................................................93
14.4Counter Unit ..........................................................................................................93
14.5Output Compare Unit ............................................................................................94
14.6Compare Match Output Unit ..................................................................................95
14.7Modes of Operation ...............................................................................................96
14.8Timer/Counter Timing Diagrams .........................................................................101
14.9Register Description ............................................................................................103
15.1Features ..............................................................................................................110
15.2Overview .............................................................................................................110
15.3Accessing 16-bit Registers ..................................................................................112
15.4Timer/Counter Clock Sources .............................................................................115
15.5Counter Unit ........................................................................................................116
15.6Input Capture Unit ...............................................................................................117
15.7Output Compare Units .........................................................................................119
15.8Compare Match Output Unit ................................................................................121
15.9Modes of Operation .............................................................................................122
15.10Timer/Counter Timing Diagrams .......................................................................129
15.11Register Description ..........................................................................................131
16.1Internal Clock Source ..........................................................................................138
16.2Prescaler Reset ...................................................................................................138
16.3External Clock Source .........................................................................................138
16.4Register Description ............................................................................................140
17.1Features ..............................................................................................................141
17.2Overview .............................................................................................................141
ATmega48P/88P/168P
iii

Related parts for ATMEGA328P-20PU