English
Language : 

SH7280 Datasheet, PDF (634/1726 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine family
Section 11 Multi-Function Timer Pulse Unit 2 (MTU2)
11.4.10 MTU2-MTU2S Synchronous Operation
(1) 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.
(a) 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. 1.00 Jun. 26, 2008 Page 604 of 1692
REJ09B0393-0100