User’s Manual U16603EJ5V1UD
11
6.2
Configuration .........................................................................................................................228
6.3
Registers ................................................................................................................................230
6.4
Operation................................................................................................................................235
6.4.1
Operation of each clock ........................................................................................................... 235
6.4.2
Clock output function ............................................................................................................... 235
6.5
PLL Function..........................................................................................................................236
6.5.1
Overview ................................................................................................................................. 236
6.5.2
Registers ................................................................................................................................. 236
6.5.3
Usage ...................................................................................................................................... 239
CHAPTER 7 16-BIT TIMER/EVENT COUNTER P (TMP) .................................................................240
7.1
Overview.................................................................................................................................240
7.2
Functions ...............................................................................................................................240
7.3
Configuration .........................................................................................................................241
7.4
Registers ................................................................................................................................243
7.5
Timer Output Operations......................................................................................................256
7.6
Operation................................................................................................................................257
7.6.1
Interval timer mode (TPnMD2 to TPnMD0 bits = 000)............................................................. 264
7.6.2
External event count mode (TPnMD2 to TPnMD0 bits = 001) ................................................. 276
7.6.3
External trigger pulse output mode (TPnMD2 to TPnMD0 bits = 010)..................................... 285
7.6.4
One-shot pulse output mode (TPnMD2 to TPnMD0 bits = 011) .............................................. 297
7.6.5
PWM output mode (TPnMD2 to TPnMD0 bits = 100).............................................................. 304
7.6.6
Free-running timer mode (TPnMD2 to TPnMD0 bits = 101) .................................................... 313
7.6.7
Pulse width measurement mode (TPnMD2 to TPnMD0 bits = 110) ........................................ 331
7.7
Selector Function ..................................................................................................................337
CHAPTER 8 16-BIT TIMER/EVENT COUNTER Q (TMQ) ................................................................339
8.1
Overview.................................................................................................................................339
8.2
Functions ...............................................................................................................................339
8.3
Configuration .........................................................................................................................340
8.4
Registers ................................................................................................................................342
8.5
Timer output operations .......................................................................................................358
8.6
Operation................................................................................................................................359
8.6.1
Interval timer mode (TQ0MD2 to TQ0MD0 bits = 000) ............................................................ 366
8.6.2
External event count mode (TQ0MD2 to TQ0MD0 bits = 001) ................................................ 377
8.6.3
External trigger pulse output mode (TQ0MD2 to TQ0MD0 bits = 010) .................................... 387
8.6.4
One-shot pulse output mode (TQ0MD2 to TQ0MD0 bits = 011) ............................................. 400
8.6.5
PWM output mode (TQ0MD2 to TQ0MD0 bits = 100) ............................................................. 409
8.6.6
Free-running timer mode (TQ0MD2 to TQ0MD0 bits = 101) ................................................... 420
8.6.7
Pulse width measurement mode (TQ0MD2 to TQ0MD0 bits = 110)........................................ 441
8.7
Selector Function ..................................................................................................................446
CHAPTER 9 16-BIT INTERVAL TIMER M (TMM).............................................................................447
9.1
Overview.................................................................................................................................447
9.2
Configuration .........................................................................................................................448
9.3
Register ..................................................................................................................................449