Datasheet
i
8018O–AVR–10/09
ATmega169P
Table of Contents
Features..................................................................................................... 1
1 Pin Configurations ................................................................................... 2
1.1Pinout - TQFP/QFN/MLF ...........................................................................................2
1.2Pinout - DRQFN ........................................................................................................3
2 Overview ................................................................................................... 4
2.1Block Diagram ...........................................................................................................4
2.2Pin Descriptions ........................................................................................................6
3 Resources ................................................................................................. 9
4 Data Retention .......................................................................................... 9
5 About Code Examples ........................................................................... 10
6 AVR CPU Core ........................................................................................ 11
6.1Introduction ..............................................................................................................11
6.2Architectural Overview ............................................................................................11
6.3ALU – Arithmetic Logic Unit ....................................................................................12
6.4Stack Pointer ...........................................................................................................13
6.5Instruction Execution Timing ...................................................................................14
6.6Reset and Interrupt Handling ..................................................................................15
6.7Status Register ........................................................................................................17
6.8General Purpose Register File ................................................................................18
7 AVR Memories ........................................................................................ 20
7.1In-System Reprogrammable Flash Program Memory .............................................20
7.2SRAM Data Memory ...............................................................................................21
7.3EEPROM Data Memory ..........................................................................................23
7.4I/O Memory ..............................................................................................................27
7.5General Purpose I/O Registers ...............................................................................28
7.6EEPROM Register Description ................................................................................28
8 System Clock and Clock Options ......................................................... 30
8.1Clock Systems and their Distribution .......................................................................30
8.2Clock Sources .........................................................................................................31
8.3Default Clock Source ...............................................................................................32
8.4Calibrated Internal RC Oscillator .............................................................................32
8.5Crystal Oscillator .....................................................................................................33