338
7810C–AVR–10/12
Atmel ATmega328P [Preliminary]
8.7
128 kHz Internal Oscillator ..............................................................................32
8.8
External Clock .................................................................................................33
8.9
Clock Output Buffer .........................................................................................34
8.10
Timer/Counter Oscillator ..................................................................................34
8.11
System Clock Prescaler ..................................................................................34
8.12
Register Description ........................................................................................35
9
Power Management and Sleep Modes ................................................. 37
9.1
Sleep Modes ....................................................................................................37
9.2
BOD Disable ....................................................................................................38
9.3
Idle Mode .........................................................................................................38
9.4
ADC Noise Reduction Mode ............................................................................38
9.5
Power-down Mode ...........................................................................................39
9.6
Power-save Mode ............................................................................................39
9.7
Standby Mode .................................................................................................39
9.8
Extended Standby Mode .................................................................................39
9.9
Power Reduction Register ...............................................................................40
9.10
Minimizing Power Consumption ......................................................................40
9.11
Register Description ........................................................................................42
10
System Control and Reset .................................................................... 44
10.1
Resetting the AVR ...........................................................................................44
10.2
Reset Sources .................................................................................................44
10.3
Power-on Reset ...............................................................................................45
10.4
External Reset .................................................................................................47
10.5
Brown-out Detection ........................................................................................47
10.6
Watchdog System Reset .................................................................................48
10.7
Internal Voltage Reference ..............................................................................48
10.8
Watchdog Timer ..............................................................................................49
10.9
Register Description ........................................................................................53
11
Interrupts ................................................................................................ 56
11.1
Interrupt Vectors in ATmega328P ...................................................................56
11.2
Register Description ........................................................................................59
12
External Interrupts ................................................................................. 61
12.1
Pin Change Interrupt Timing ............................................................................61
12.2
Register Description ........................................................................................62