Datasheet

Table Of Contents
iii
ATmega32A [DATASHEET]
Atmel-8155D-AVR-ATmega32A-Datasheet_02/2014
15.6 Compare Match Output Unit ............................................................................71
15.7 Modes of Operation .........................................................................................72
15.8 Timer/Counter Timing Diagrams ......................................................................76
15.9 Register Description ........................................................................................78
16 Timer/Counter0 and Timer/Counter1 Prescalers ................................. 82
16.1 Overview ..........................................................................................................82
16.2 Internal Clock Source ......................................................................................82
16.3 Prescaler Reset ...............................................................................................82
16.4 External Clock Source .....................................................................................82
16.5 Register Description ........................................................................................84
17 16-bit Timer/Counter1 ............................................................................ 85
17.1 Features ..........................................................................................................85
17.2 Overview ..........................................................................................................85
17.3 Accessing 16-bit Registers ..............................................................................87
17.4 Timer/Counter Clock Sources .........................................................................90
17.5 Counter Unit ....................................................................................................90
17.6 Input Capture Unit ...........................................................................................91
17.7 Compare Match Output Unit ............................................................................95
17.8 Modes of Operation .........................................................................................96
17.9 Timer/Counter Timing Diagrams ....................................................................103
17.10 Register Description ......................................................................................104
18 8-bit Timer/Counter2 with PWM and Asynchronous Operation ....... 111
18.1 Features ........................................................................................................111
18.2 Overview ........................................................................................................111
18.3 Timer/Counter Clock Sources .......................................................................112
18.4 Counter Unit ..................................................................................................112
18.5 Output Compare Unit .....................................................................................113
18.6 Compare Match Output Unit ..........................................................................115
18.7 Modes of Operation .......................................................................................115
18.8 Timer/Counter Timing Diagrams ....................................................................119
18.9 Asynchronous Operation of the Timer/Counter .............................................121
18.10 Timer/Counter Prescaler ...............................................................................123
18.11 Register Description ......................................................................................123
19 SPI – Serial Peripheral Interface ......................................................... 128
19.1 Features ........................................................................................................128