Datasheet
15.7. Modes of Operation..................................................................................................................132
15.8. Timer/Counter Timing Diagrams...............................................................................................136
15.9. Register Description................................................................................................................. 138
16. TC1 - 16-bit Timer/Counter1 with PWM.................................................................150
16.1. Overview...................................................................................................................................150
16.2. Features................................................................................................................................... 150
16.3. Block Diagram.......................................................................................................................... 151
16.4. Definitions.................................................................................................................................151
16.5. Registers.................................................................................................................................. 152
16.6. Accessing 16-bit Registers.......................................................................................................152
16.7. Timer/Counter Clock Sources.................................................................................................. 155
16.8. Counter Unit............................................................................................................................. 155
16.9. Input Capture Unit.................................................................................................................... 156
16.10. Output Compare Units............................................................................................................. 158
16.11. Compare Match Output Unit.....................................................................................................160
16.12. Modes of Operation..................................................................................................................161
16.13. Timer/Counter Timing Diagrams.............................................................................................. 169
16.14. Register Description.................................................................................................................170
17. Timer/Counter 0, 1 Prescalers...............................................................................183
17.1. Internal Clock Source............................................................................................................... 183
17.2. Prescaler Reset........................................................................................................................183
17.3. External Clock Source..............................................................................................................183
17.4. Register Description................................................................................................................. 184
18. PSC – power stage controller................................................................................186
18.1. Features................................................................................................................................... 186
18.2. Overview...................................................................................................................................186
18.3. Accessing 16-bit registers........................................................................................................ 186
18.4. PSC description........................................................................................................................187
18.5. Functional description...............................................................................................................188
18.6. Update of values.......................................................................................................................192
18.7. Overlap Protection....................................................................................................................192
18.8. Signal description..................................................................................................................... 193
18.9. PSC input................................................................................................................................. 194
18.10. PSC input modes 001b to 10xb: Deactivate outputs without changing timing......................... 196
18.11. PSC Input Mode 11xb: Halt PSC and wait for software action................................................. 197
18.12. Analog synchronization............................................................................................................197
18.13. Interrupt handling..................................................................................................................... 197
18.14. PSC clock sources...................................................................................................................197
18.15. Interrupts.................................................................................................................................. 198
18.16. Register Description.................................................................................................................199
19. SPI – Serial Peripheral Interface........................................................................... 212
19.1. Features................................................................................................................................... 212
19.2. Overview...................................................................................................................................212
19.3. SS Pin Functionality................................................................................................................. 216
19.4. Data Modes.............................................................................................................................. 216
Atmel ATmega16M1/32M1/64M1 [DATASHEET]
Atmel-8209F-ATmega16M1/32M1/64M1_Datasheet_Complete-10/2016
5