Datasheet
ii
8018O–AVR–10/09
ATmega169P
8.6Low-frequency Crystal Oscillator .............................................................................34
8.7External Clock .........................................................................................................36
8.8Timer/Counter Oscillator .........................................................................................37
8.9Clock Output Buffer .................................................................................................37
8.10System Clock Prescaler ........................................................................................37
8.11Register Description ..............................................................................................38
9 Power Management and Sleep Modes ................................................. 40
9.1Sleep Modes ...........................................................................................................40
9.2Idle Mode .................................................................................................................41
9.3ADC Noise Reduction Mode ...................................................................................41
9.4Power-down Mode ..................................................................................................41
9.5Power-save Mode ...................................................................................................42
9.6Standby Mode .........................................................................................................42
9.7Power Reduction Register .......................................................................................42
9.8Minimizing Power Consumption ..............................................................................43
9.9Register Description ................................................................................................45
10 System Control and Reset .................................................................... 47
10.1Resetting the AVR .................................................................................................47
10.2Reset Sources .......................................................................................................47
10.3Internal Voltage Reference ....................................................................................51
10.4Watchdog Timer ....................................................................................................51
10.5Register Description ..............................................................................................54
11 Interrupts ................................................................................................ 56
11.1Interrupt Vectors in ATmega169P .........................................................................56
11.2Moving Interrupts Between Application and Boot Space ......................................59
12 External Interrupts ................................................................................. 61
12.1Pin Change Interrupt Timing .................................................................................61
12.2Register Description ..............................................................................................62
13 I/O-Ports .................................................................................................. 65
13.1Overview ...............................................................................................................65
13.2Ports as General Digital I/O ...................................................................................66
13.3Alternate Port Functions ........................................................................................71
13.4Register Description for I/O-Ports ..........................................................................88
14 8-bit Timer/Counter0 with PWM ............................................................ 91