English
Language : 

SH7080 Datasheet, PDF (653/1644 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 11 Multi-Function Timer Pulse Unit 2 (MTU2)
11.4.10 MTU2–MTU2S Synchronous Operation
MTU2–MTU2S Synchronous Counter Start: The counters in the MTU2 and MTU2S which
operate at different clock systems can be started synchronously by making the TCSYSTR settings
in the MTU2.
1. Example of MTU2–MTU2S Synchronous Counter Start Setting Procedure
Figure 11.83 shows an example of synchronous counter start setting procedure.
MTU2-MTU2S synchronous
counter start
Stop count operation
[1]
Set the necessary operation [2]
Set TCSYSTR
[3]
<Counter operation starts>
[1] Use TSTR registers in the MTU2 and MTU2S and halt the
counters used for synchronous start operation.
[2] Specify necessary operation with appropriate registers such as
TCR and TMDR.
[3] In TCSYSTR in the MTU2, set the bits corresponding to the
counters to be started synchronously to 1. The TSTRs are
automatically set appropriately and the counters start
synchronously.
Notes: 1. Even if a bit in TCSYSTR corresponding to an operating
counter is cleared to 0, the counter will not stop. To stop
the counter, clear the corresponding bit in TSTR to 0
directly.
2. To start channels 3 and 4 in reset-synchronized PWM
mode or complementary PWM mode, make appropriate
settings in TCYSTR according to the TSTR setting for
the respective mode. For details, refer to section 11.4.7,
Reset-Synchronized PWM Mode, and section 11.4.8,
Complementary PWM Mode.
Figure 11.83 Example of Synchronous Counter Start Setting Procedure
Rev. 3.00 May 17, 2007 Page 595 of 1582
REJ09B0181-0300