
Preliminary User’s Manual U17790EJ1V0UD
12
6.5.1
Overview..................................................................................................................................238
6.5.2
Registers..................................................................................................................................238
6.5.3
Usage ......................................................................................................................................242
CHAPTER 7 16-BIT TIMER/EVENT COUNTER P (TMP) ................................................................ 243
7.1
Overview................................................................................................................................ 243
7.2
Functions............................................................................................................................... 243
7.3
Configuration ........................................................................................................................ 244
7.4
Registers ............................................................................................................................... 246
7.5
Operation............................................................................................................................... 258
7.5.1
Interval timer mode (TPnMD2 to TPnMD0 bits = 000) ............................................................. 259
7.5.2
External event count mode (TPnMD2 to TPnMD0 bits = 001) ................................................. 269
7.5.3
External trigger pulse output mode (TPnMD2 to TPnMD0 bits = 010) .....................................277
7.5.4
One-shot pulse output mode (TPnMD2 to TPnMD0 bits = 011)............................................... 289
7.5.5
PWM output mode (TPnMD2 to TPnMD0 bits = 100) .............................................................. 296
7.5.6
Free-running timer mode (TPnMD2 to TPnMD0 bits = 101) ....................................................305
7.5.7
Pulse width measurement mode (TPnMD2 to TPnMD0 bits = 110).........................................322
7.5.8
Timer output operations ...........................................................................................................328
7.6
Selector Function ................................................................................................................. 329
7.7
Cautions ................................................................................................................................ 331
CHAPTER 8 16-BIT TIMER/EVENT COUNTER Q (TMQ)................................................................ 332
8.1
Overview................................................................................................................................ 332
8.2
Functions............................................................................................................................... 332
8.3
Configuration ........................................................................................................................ 333
8.4
Registers ............................................................................................................................... 336
8.5
Operation............................................................................................................................... 352
8.5.1
Interval timer mode (TQ0MD2 to TQ0MD0 bits = 000) ............................................................ 353
8.5.2
External event count mode (TQ0MD2 to TQ0MD0 bits = 001) ................................................ 362
8.5.3
External trigger pulse output mode (TQ0MD2 to TQ0MD0 bits = 010) ....................................371
8.5.4
One-shot pulse output mode (TQ0MD2 to TQ0MD0 bits = 011).............................................. 384
8.5.5
PWM output mode (TQ0MD2 to TQ0MD0 bits = 100) ............................................................. 393
8.5.6
Free-running timer mode (TQ0MD2 to TQ0MD0 bits = 101) ...................................................404
8.5.7
Pulse width measurement mode (TQ0MD2 to TQ0MD0 bits = 110)........................................424
8.5.8
Timer output operations ...........................................................................................................430
8.6
Selector Function ................................................................................................................. 430
8.7
Cautions ................................................................................................................................ 431
CHAPTER 9 16-BIT INTERVAL TIMER M (TMM) ............................................................................ 432
9.1
Overview................................................................................................................................ 432
9.2
Configuration ........................................................................................................................ 433
9.3
Register ................................................................................................................................. 434
9.4
Operation............................................................................................................................... 435
9.4.1
Interval timer mode ..................................................................................................................435
9.4.2
Cautions...................................................................................................................................439
CHAPTER 10 WATCH TIMER FUNCTIONS ...................................................................................... 440
10.1
Functions............................................................................................................................... 440
10.2
Configuration ........................................................................................................................ 441