ATmega64A
8.8
External Clock .................................................................................................42
Timer/Counter Oscillator ..................................................................................43
Register Descriprion ........................................................................................44
8.9
8.10
9
Power Management and Sleep Modes ................................................. 46
9.1
9.2
9.3
9.4
9.5
9.6
9.7
9.8
Idle Mode .........................................................................................................46
ADC Noise Reduction Mode ............................................................................46
Power-down Mode ...........................................................................................47
Power-save Mode ............................................................................................47
Standby Mode .................................................................................................47
Extended Standby Mode .................................................................................47
Minimizing Power Consumption ......................................................................48
Register Description ........................................................................................50
10 System Control and Reset .................................................................... 51
10.1
10.2
10.3
10.4
Internal Voltage Reference ..............................................................................55
Watchdog Timer ..............................................................................................55
Timed Sequences for Changing the Configuration of the Watchdog Timer ....56
Register Description ........................................................................................57
11 Interrupts ................................................................................................ 60
11.1
11.2
11.3
Overview ..........................................................................................................60
Interrupt Vectors in ATmega64A .....................................................................60
Register Description ........................................................................................64
12 External Interrupts ................................................................................. 65
12.1
Register Description ........................................................................................65
13 I/O Ports .................................................................................................. 68
13.1
13.2
13.3
13.4
Overview ..........................................................................................................68
Ports as General Digital I/O .............................................................................69
Alternate Port Functions ..................................................................................73
Register Description ........................................................................................88
14 8-bit Timer/Counter0 with PWM and Asynchronous Operation ........ 92
14.1
14.2
14.3
14.4
14.5
Features ..........................................................................................................92
Overview ..........................................................................................................92
Timer/Counter Clock Sources .........................................................................93
Counter Unit ....................................................................................................93
Output Compare Unit .......................................................................................94
ii
8160C–AVR–07/09