Datasheet

Table Of Contents
iii
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
2549Q–AVR–02/2014
14.2Reset and Interrupt Vector placement .................................................................102
14.3Moving Interrupts Between Application and Boot Section ...................................107
14.4Register Description ............................................................................................108
15 External Interrupts ............................................................................... 109
15.1Pin Change Interrupt Timing ................................................................................109
15.2Register Description ............................................................................................110
16 8-bit Timer/Counter0 with PWM .......................................................... 115
16.1Features ..............................................................................................................115
16.2Overview ..............................................................................................................115
16.3Timer/Counter Clock Sources .............................................................................116
16.4Counter Unit ........................................................................................................116
16.5Output Compare Unit ...........................................................................................117
16.6Compare Match Output Unit ................................................................................119
16.7Modes of Operation .............................................................................................120
16.8Timer/Counter Timing Diagrams .........................................................................124
16.9Register Description ............................................................................................126
17 16-bit Timer/Counter (Timer/Counter 1, 3, 4, and 5) .......................... 133
17.1Features ..............................................................................................................133
17.2Overview ..............................................................................................................133
17.3Accessing 16-bit Registers ..................................................................................135
17.4Timer/Counter Clock Sources .............................................................................138
17.5Counter Unit ........................................................................................................139
17.6Input Capture Unit ...............................................................................................140
17.7Output Compare Units .........................................................................................141
17.8Compare Match Output Unit ................................................................................143
17.9Modes of Operation .............................................................................................144
17.10Timer/Counter Timing Diagrams .......................................................................152
17.11Register Description ..........................................................................................154
18 Timer/Counter 0, 1, 3, 4, and 5 Prescaler ........................................... 164
18.1Internal Clock Source ..........................................................................................164
18.2Prescaler Reset ...................................................................................................164
18.3External Clock Source .........................................................................................164
18.4Register Description ............................................................................................166
19 Output Compare Modulator (OCM1C0A) ............................................ 167
19.1Overview ..............................................................................................................167