![](http://datasheet.mmic.net.cn/90000/MEGA32M1-15AZ_datasheet_3507761/MEGA32M1-15AZ_360.png)
360
7647F–AVR–04/09
ATmega16/32/64/M1/C1
12.6
Modes of Operation .........................................................................................95
12.7
Timer/Counter Timing Diagrams .....................................................................99
12.8
8-bit Timer/Counter Register Description ......................................................101
13
16-bit Timer/Counter1 with PWM ........................................................ 107
13.1
Overview ........................................................................................................107
13.2
Accessing 16-bit Registers ............................................................................109
13.3
Timer/Counter Clock Sources .......................................................................112
13.4
Counter Unit ..................................................................................................113
13.5
Input Capture Unit .........................................................................................114
13.6
Output Compare Units ...................................................................................116
13.7
Compare Match Output Unit ..........................................................................118
13.8
Modes of Operation .......................................................................................120
13.9
Timer/Counter Timing Diagrams ...................................................................128
13.10
16-bit Timer/Counter Register Description ....................................................130
14
Power Stage Controller – (PSC) (only ATmega16/32/64M1) ............. 136
14.1
Features ........................................................................................................136
14.2
Overview ........................................................................................................136
14.3
Accessing 16-bit Registers ............................................................................136
14.4
PSC Description ............................................................................................137
14.5
Functional Description ...................................................................................138
14.6
Update of Values ...........................................................................................142
14.7
Overlap Protection .........................................................................................143
14.8
Signal Description ..........................................................................................144
14.9
PSC Input ......................................................................................................146
14.10
PSC Input Modes 001b to 10xb: Deactivate outputs without changing
timing. ............................................................................................................148
14.11
PSC Input Mode 11xb: Halt PSC and Wait for Software Action ....................148
14.12
Analog Synchronization .................................................................................149
14.13
Interrupt Handling ..........................................................................................149
14.14
PSC Clock Sources .......................................................................................149
14.15
Interrupts .......................................................................................................150
14.16
PSC Register Definition 151
15
Serial Peripheral Interface – SPI ......................................................... 158
15.1
Features ........................................................................................................158
15.2
SS Pin Functionality ......................................................................................163