Datasheet

Table Of Contents
18.3. Prescaler Reset........................................................................................................................102
18.4. External Clock Source..............................................................................................................102
18.5. Register Description................................................................................................................. 103
19. 16-bit Timer/Counter1............................................................................................105
19.1. Features................................................................................................................................... 105
19.2. Overview...................................................................................................................................105
19.3. Accessing 16-bit Registers.......................................................................................................107
19.4. Timer/Counter Clock Sources...................................................................................................110
19.5. Counter Unit..............................................................................................................................110
19.6. Input Capture Unit.....................................................................................................................111
19.7. Output Compare Units..............................................................................................................113
19.8. Compare Match Output Unit.....................................................................................................115
19.9. Modes of Operation.................................................................................................................. 116
19.10. Timer/Counter Timing Diagrams.............................................................................................. 123
19.11. Register Description................................................................................................................. 124
20. 8-bit Timer/Counter2 with PWM and Asynchronous Operation............................. 140
20.1. Features................................................................................................................................... 140
20.2. Overview...................................................................................................................................140
20.3. Timer/Counter Clock Sources.................................................................................................. 141
20.4. Counter Unit............................................................................................................................. 141
20.5. Output Compare Unit................................................................................................................142
20.6. Compare Match Output Unit.....................................................................................................144
20.7. Modes of Operation..................................................................................................................145
20.8. Timer/Counter Timing Diagrams...............................................................................................149
20.9. Asynchronous Operation of the Timer/Counter........................................................................ 150
20.10. Timer/Counter Prescaler.......................................................................................................... 152
20.11. Register Description................................................................................................................. 152
21. 8-bit Timer/Counter0 with PWM.............................................................................162
21.1. Features................................................................................................................................... 162
21.2. Overview...................................................................................................................................162
21.3. Timer/Counter Clock Sources.................................................................................................. 163
21.4. Counter Unit............................................................................................................................. 163
21.5. Output Compare Unit................................................................................................................164
21.6. Compare Match Output Unit.....................................................................................................166
21.7. Modes of Operation..................................................................................................................167
21.8. Timer/Counter Timing Diagrams...............................................................................................171
21.9. Register Description................................................................................................................. 172
22. SPI – Serial Peripheral Interface........................................................................... 180
22.1. Features................................................................................................................................... 180
22.2. Overview...................................................................................................................................180
22.3. SS Pin Functionality................................................................................................................. 183
22.4. Data Modes.............................................................................................................................. 184
22.5. Register Description................................................................................................................. 185
Atmel ATmega32A [DATASHEET]
Atmel-8155I-ATmega32A_Datasheet_Complete-08/2016
5