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