Datasheet
ii
8024A–AVR–04/08
ATmega8HVA/16HVA
9.5Ultra Low Power RC Oscillator ................................................................................26
9.6CPU, I/O, Flash, and Voltage ADC Clock ................................................................26
9.7Watchdog Timer, Battery Protection and Coulomb Counter ADC Clock .................27
9.8Clock Startup Sequence ..........................................................................................27
9.9Clock Output ............................................................................................................27
9.10System Clock Prescaler ........................................................................................27
9.11VADC Clock Prescaler ..........................................................................................28
9.12OSI – Oscillator Sampling Interface ......................................................................28
9.13Register Description ..............................................................................................30
10 Power Management and Sleep Modes ................................................. 34
10.1Sleep Modes ..........................................................................................................34
10.2Idle Mode ...............................................................................................................36
10.3ADC Noise Reduction ............................................................................................36
10.4Power-save Mode ..................................................................................................36
10.5Power-off Mode .....................................................................................................37
10.6Power Reduction Register .....................................................................................37
10.7Minimizing Power Consumption ............................................................................37
10.8Register Description ..............................................................................................39
11 System Control and Reset .................................................................... 41
11.1Resetting the AVR .................................................................................................41
11.2Reset Sources .......................................................................................................41
11.3Watchdog Timer ....................................................................................................46
11.4Register Description ..............................................................................................49
12 Interrupts ................................................................................................ 52
12.1Overview ................................................................................................................52
12.2Interrupt Vectors in ATmega8HVA ........................................................................52
12.3Interrupt Vectors in ATmega16HVA ......................................................................54
13 External Interrupts ................................................................................. 56
13.1Overview ................................................................................................................56
13.2Register Description ..............................................................................................56
14 High Voltage I/O Ports ........................................................................... 58
14.1Overview ................................................................................................................58
14.2High Voltage Ports as General Digital I/O .............................................................59
14.3Overview ................................................................................................................59