Datasheet

7.6.1 Free-running timer mode (during timer-tuned operation) ..............................................................311
7.6.2 PWM output mode (during timer-tuned operation) ........................................................................318
7.7 Simultaneous-Start Function ................................................................................................ 320
7.7.1 PWM output mode (simultaneous-start operation)........................................................................321
7.8 Cascade Connection.............................................................................................................. 323
7.9 Selector Function................................................................................................................... 328
7.10 Cautions .................................................................................................................................. 329
CHAPTER 8 16-BIT TIMER/EVENT COUNTER AB (TAB).............................................................. 330
8.1 Overview ................................................................................................................................. 330
8.2 Functions ................................................................................................................................ 330
8.3 Configuration.......................................................................................................................... 331
8.4 Registers ................................................................................................................................. 334
8.5 Operation ................................................................................................................................ 351
8.5.1 Interval timer mode (TABnMD2 to TABnMD0 bits = 000) .............................................................352
8.5.2 External event count mode (TABnMD2 to TABnMD0 bits = 001)..................................................361
8.5.3 External trigger pulse output mode (TABnMD2 to TABnMD0 bits = 010) .....................................370
8.5.4 One-shot pulse output mode (TABnMD2 to TABnMD0 bits = 011)...............................................383
8.5.5 PWM output mode (TABnMD2 to TABnMD0 bits = 100) ..............................................................392
8.5.6 Free-running timer mode (TABnMD2 to TABnMD0 bits = 101).....................................................403
8.5.7 Pulse width measurement mode (TABnMD2 to TABnMD0 bits = 110) .........................................423
8.5.8 Triangular wave PWM mode (TABnMD2 to TABnMD0 bits = 111)...............................................429
8.5.9 Timer output operations ................................................................................................................431
8.6 Timer-Tuned Operation Function/Simultaneous-Start Function ...................................... 432
8.7 Cautions .................................................................................................................................. 433
CHAPTER 9 16-BIT TIMER/EVENT COUNTER T (TMT)................................................................. 434
9.1 Overview ................................................................................................................................. 434
9.2 Functions ................................................................................................................................ 434
9.3 Configuration.......................................................................................................................... 435
9.3.1 Pin configuration ...........................................................................................................................438
9.4 Registers ................................................................................................................................. 439
9.5 Timer Output Operations....................................................................................................... 460
9.6 Operation ................................................................................................................................ 461
9.6.1 Interval timer mode (TT0MD3 to TT0MD0 bits = 0000).................................................................469
9.6.2 External event count mode (TT0MD3 to TT0MD0 bits = 0001).....................................................479
9.6.3 External trigger pulse output mode (TT0MD3 to TT0MD0 bits = 0010).........................................489
9.6.4 One-shot pulse output mode (TT0MD3 to TT0MD0 bits = 0011) ..................................................502
9.6.5 PWM output mode (TT0MD3 to TT0MD0 bits = 0100)..................................................................509
9.6.6 Free-running timer mode (TT0MD3 to TT0MD0 bits = 0101)........................................................518
9.6.7 Pulse width measurement mode (TT0MD3 to TT0MD0 bits = 0110) ............................................534
9.6.8 Triangular-wave PWM output mode (TT0MD3 to TT0MD0 bits = 0111) .......................................540
9.6.9 Encoder count function .................................................................................................................542
9.6.10 Encoder compare mode (TT0MD3 to TT0MD0 bits = 1000) .........................................................558
CHAPTER 10 16-BIT INTERVAL TIMER M (TMM) .......................................................................... 566
10.1 Overview ................................................................................................................................. 566
10.2 Configuration.......................................................................................................................... 567
10.3 Registers ................................................................................................................................. 569
10.4 Operation ................................................................................................................................ 571
10.4.1 Interval timer mode .......................................................................................................................571
10.4.2 Cautions........................................................................................................................................575
CHAPTER 11 MOTOR CONTROL FUNCTION .................................................................................. 576
11.1 Functional Overview .............................................................................................................. 576
11.2 Configuration.......................................................................................................................... 577
11.3 Control Registers ................................................................................................................... 581
11.4 Operation ................................................................................................................................ 591