ATmega64A
14.6
14.7
14.8
14.9
Compare Match Output Unit ............................................................................96
Modes of Operation .........................................................................................97
Timer/Counter Timing Diagrams ...................................................................101
Asynchronous Operation of the Timer/Counter .............................................103
14.10 Timer/Counter Prescaler ...............................................................................105
14.11 Register Description ......................................................................................106
15 16-bit Timer/Counter (Timer/Counter1 and Timer/Counter3) ........... 111
15.1
15.2
15.3
15.4
15.5
15.6
15.7
15.8
15.9
Features ........................................................................................................111
Overview ........................................................................................................111
Accessing 16-bit Registers ............................................................................114
Timer/Counter Clock Sources .......................................................................116
Counter Unit ..................................................................................................116
Input Capture Unit .........................................................................................118
Output Compare Units ...................................................................................120
Compare Match Output Unit ..........................................................................122
Modes of Operation .......................................................................................123
15.10 Timer/Counter Timing Diagrams ...................................................................130
15.11 16-bit Timer/Counter Register Description ....................................................133
16 Timer/Counter3, Timer/Counter2 and Timer/Counter1 Prescalers .. 143
16.1
Register Description ......................................................................................145
17 8-bit Timer/Counter2 with PWM .......................................................... 146
17.1
17.2
17.3
17.4
17.5
17.6
17.7
17.8
17.9
Features ........................................................................................................146
Overview ........................................................................................................146
Timer/Counter Clock Sources .......................................................................147
Counter Unit ..................................................................................................147
Output Compare Unit .....................................................................................148
Compare Match Output Unit ..........................................................................150
Modes of Operation .......................................................................................151
Timer/Counter Timing Diagrams ...................................................................155
Register Description ......................................................................................157
18 Output Compare Modulator (OCM1C2) .............................................. 162
18.1
18.2
Overview ........................................................................................................162
Description .....................................................................................................162
19 SPI – Serial Peripheral Interface ......................................................... 164
iii
8160C–AVR–07/09