iii
2467S–AVR–07/09
ATmega128
Timer/Counter3, Timer/Counter2, and Timer/Counter1 Prescalers
143
8-bit Timer/Counter2 with PWM 145
Timer/Counter Clock Sources 146
Timer/Counter Timing Diagrams 155
8-bit Timer/Counter Register Description 157
Output Compare Modulator (OCM1C2) 161
Serial Peripheral Interface – SPI 163
SS Pin Functionality 167
Data Transmission – The USART Transmitter 178
Data Reception – The USART Receiver 180
Multi-processor Communication Mode 187
USART Register Description 189
Examples of Baud Rate Setting 194
Two-wire Serial Interface Bus Definition 198
Data Transfer and Frame Format 199
Multi-master Bus Systems, Arbitration and Synchronization 201
Overview of the TWI Module 204