Datasheet
iii
8284D–AVR–6/11
ATmega169A/PA/329A/PA/3290A/PA/649A/P/6490A/P
13.3Register Description ..............................................................................................62
14 I/O-Ports .................................................................................................. 66
14.1Overview ...............................................................................................................66
14.2Ports as General Digital I/O ...................................................................................67
14.3Alternate Port Functions ........................................................................................72
14.4Register Description ..............................................................................................93
15 8-bit Timer/Counter0 with PWM ............................................................ 97
15.1Features ................................................................................................................97
15.2Overview ...............................................................................................................97
15.3Timer/Counter Clock Sources ...............................................................................98
15.4Counter Unit ..........................................................................................................98
15.5Output Compare Unit ..........................................................................................100
15.6Compare Match Output Unit ................................................................................101
15.7Modes of Operation .............................................................................................102
15.8Timer/Counter Timing Diagrams .........................................................................107
15.9Register Description ............................................................................................108
16 16-bit Timer/Counter1 .......................................................................... 112
16.1Features ..............................................................................................................112
16.2Overview .............................................................................................................112
16.3Accessing 16-bit Registers ..................................................................................115
16.4Timer/Counter Clock Sources .............................................................................117
16.5Counter Unit ........................................................................................................118
16.6Input Capture Unit ...............................................................................................119
16.7Output Compare Units .........................................................................................121
16.8Compare Match Output Unit ................................................................................123
16.9Modes of Operation .............................................................................................124
16.10Timer/Counter Timing Diagrams .......................................................................131
16.11Register Description ..........................................................................................133
17 Timer/Counter0 and Timer/Counter1 Prescalers .............................. 140
17.1Internal Clock Source ..........................................................................................140
17.2Prescaler Reset ...................................................................................................140
17.3External Clock Source .........................................................................................140
17.4Register Description ............................................................................................142
18 8-bit Timer/Counter2 with PWM and Asynchronous Operation ...... 147