
Rev. 1.00 Sep. 13, 2007 Page xix of xxviii
13.4
Operation .......................................................................................................................... 565
13.4.1
Output Timing................................................................................................... 565
13.4.2
Sample Setup Procedure for Normal Pulse Output........................................... 566
13.4.3
Example of Normal Pulse Output (Example of 5-Phase Pulse Output) ............ 568
13.4.4
Non-Overlapping Pulse Output......................................................................... 569
13.4.5
Sample Setup Procedure for Non-Overlapping Pulse Output ........................... 571
13.4.6
Example of Non-Overlapping Pulse Output
(Example of 4-Phase Complementary Non-Overlapping Pulse Output)........... 573
13.4.7
Inverted Pulse Output ....................................................................................... 575
13.4.8
Pulse Output Triggered by Input Capture ......................................................... 576
13.5
Usage Notes ...................................................................................................................... 577
13.5.1
Module Stop State Setting ................................................................................ 577
13.5.2
Operation of Pulse Output Pins......................................................................... 577
13.5.3
TPU Setting when PPG1 is in Use.................................................................... 577
Section 14 8-Bit Timers (TMR)...........................................................................579
14.1
Features............................................................................................................................. 579
14.2
Input/Output Pins.............................................................................................................. 584
14.3
Register Descriptions ........................................................................................................ 585
14.3.1
Timer Counter (TCNT)..................................................................................... 587
14.3.2
Time Constant Register A (TCORA)................................................................ 587
14.3.3
Time Constant Register B (TCORB) ................................................................ 588
14.3.4
Timer Control Register (TCR).......................................................................... 588
14.3.5
Timer Counter Control Register (TCCR) ......................................................... 590
14.3.6
Timer Control/Status Register (TCSR)............................................................. 595
14.4
Operation .......................................................................................................................... 599
14.4.1
Pulse Output...................................................................................................... 599
14.4.2
Reset Input ........................................................................................................ 600
14.5
Operation Timing.............................................................................................................. 601
14.5.1
TCNT Count Timing ........................................................................................ 601
14.5.2
Timing of CMFA and CMFB Setting at Compare Match................................. 602
14.5.3
Timing of Timer Output at Compare Match ..................................................... 602
14.5.4
Timing of Counter Clear by Compare Match ................................................... 603
14.5.5
Timing of TCNT External Reset....................................................................... 603
14.5.6
Timing of Overflow Flag (OVF) Setting .......................................................... 604
14.6
Operation with Cascaded Connection............................................................................... 604
14.6.1
16-Bit Counter Mode ........................................................................................ 604
14.6.2
Compare Match Count Mode............................................................................ 605
14.7
Interrupt Sources...............................................................................................................605
14.7.1
Interrupt Sources and DTC Activation ............................................................. 605