7.8 Timer/Counter Oscillator ........................................................................................36
7.9 Clock Output Buffer ................................................................................................36
7.10 System Clock Prescaler .......................................................................................36
7.11 Register Description .............................................................................................37
8
Power Management and Sleep Modes ................................................. 39
8.1 Sleep Modes ..........................................................................................................39
8.2 Idle Mode ................................................................................................................40
8.3 ADC Noise Reduction Mode ..................................................................................40
8.4 Power-down Mode .................................................................................................40
8.5 Power-save Mode ..................................................................................................41
8.6 Standby Mode ........................................................................................................41
8.7 Power Reduction Register ......................................................................................41
8.8 Minimizing Power Consumption .............................................................................42
8.9 Register Description ...............................................................................................44
9
System Control and Reset .................................................................... 46
9.1 Resetting the AVR ..................................................................................................46
9.2 Reset Sources ........................................................................................................46
9.3 Internal Voltage Reference .....................................................................................51
9.4 Watchdog Timer .....................................................................................................51
9.5 Register Description ...............................................................................................54
10 Interrupts ................................................................................................ 56
10.1 Interrupt Vectors in ATmega169P ........................................................................56
10.2 Moving Interrupts Between Application and Boot Space .....................................59
11 External Interrupts ................................................................................. 61
11.1 Pin Change Interrupt Timing ................................................................................61
11.2 Register Description .............................................................................................62
12 I/O-Ports .................................................................................................. 65
12.1 Introduction ...........................................................................................................65
12.2 Ports as General Digital I/O ..................................................................................66
12.3 Alternate Port Functions .......................................................................................71
12.4 Register Description for I/O-Ports .........................................................................88
13 8-bit Timer/Counter0 with PWM ............................................................ 91
13.1 Overview ..............................................................................................................91
13.2 Timer/Counter Clock Sources ..............................................................................92
ii
ATmega169P
8018A–AVR–03/06