8.4.1
Overview .............................................................................................................. 251
8.4.2
Basic Functions .................................................................................................... 251
8.4.3
Synchronization.................................................................................................... 259
8.4.4
PWM Mode .......................................................................................................... 261
8.4.5
Phase Counting Mode .......................................................................................... 265
8.4.6
8.5
Interrupts............................................................................................................................ 268
8.5.1
Setting of Status Flags.......................................................................................... 268
8.5.2
8.5.3
Interrupt Sources .................................................................................................. 271
8.6
Usage Notes ....................................................................................................................... 272
Section 9
9.1
Overview............................................................................................................................ 285
9.1.1
Features ................................................................................................................ 285
9.1.2
Block Diagram...................................................................................................... 287
9.1.3
Pin Configuration ................................................................................................. 288
9.1.4
Register Configuration ......................................................................................... 289
9.2
Register Descriptions......................................................................................................... 290
9.2.1
Timer Counters (8TCNT)..................................................................................... 290
9.2.2
9.2.3
9.2.4
9.2.5
9.3
CPU Interface .................................................................................................................... 301
9.3.1
8-Bit Registers...................................................................................................... 301
9.4
Operation ........................................................................................................................... 303
9.4.1
8TCNT Count Timing.......................................................................................... 303
9.4.2
Compare Match Timing ....................................................................................... 304
9.4.3
9.4.4
9.4.5
9.4.6
Input Capture Setting............................................................................................ 310
9.5
Interrupt ............................................................................................................................. 311
9.5.1
Interrupt Sources .................................................................................................. 311
9.5.2
9.6
9.7
Usage Notes ....................................................................................................................... 313
9.7.1
9.7.2
9.7.3
9.7.4
9.7.5
vi
..................................................................................................... 285