Datasheet
iii
2545F–AVR–06/05
14 16-bit Timer/Counter1 with PWM ........................................................ 106
14.1 Overview ............................................................................................................106
14.2 Accessing 16-bit Registers .................................................................................108
14.3 Timer/Counter Clock Sources ............................................................................111
14.4 Counter Unit .......................................................................................................112
14.5 Input Capture Unit ..............................................................................................113
14.6 Output Compare Units ........................................................................................115
14.7 Compare Match Output Unit ...............................................................................117
14.8 Modes of Operation ............................................................................................118
14.9 Timer/Counter Timing Diagrams ........................................................................125
14.10 16-bit Timer/Counter Register Description .......................................................128
15 Timer/Counter0 and Timer/Counter1 Prescalers .............................. 135
16 8-bit Timer/Counter2 with PWM and Asynchronous Operation ...... 138
16.1 Overview ............................................................................................................138
16.2 Timer/Counter Clock Sources ............................................................................139
16.3 Counter Unit .......................................................................................................139
16.4 Output Compare Unit .........................................................................................140
16.5 Compare Match Output Unit ...............................................................................142
16.6 Modes of Operation ............................................................................................143
16.7 Timer/Counter Timing Diagrams ........................................................................147
16.8 8-bit Timer/Counter Register Description ...........................................................149
16.9 Asynchronous operation of the Timer/Counter ...................................................155
16.10 Timer/Counter Prescaler ..................................................................................158
17 Serial Peripheral Interface – SPI ......................................................... 159
17.1 SS Pin Functionality ...........................................................................................164
17.2 Data Modes ........................................................................................................166
18 USART0 ................................................................................................. 168
18.1 Overview ............................................................................................................168
18.2 Clock Generation ................................................................................................169
18.3 Frame Formats ...................................................................................................172
18.4 USART Initialization ...........................................................................................174
18.5 Data Transmission – The USART Transmitter ...................................................175
18.6 Data Reception – The USART Receiver ............................................................178
18.7 Asynchronous Data Reception ...........................................................................182
18.8 Multi-processor Communication Mode ...............................................................185