R5S72011 RENESAS [Renesas Technology Corp], R5S72011 Datasheet - Page 490

no-image

R5S72011

Manufacturer Part Number
R5S72011
Description
32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 12 Multi-Function Timer Pulse Unit 2 (MTU2)
12.4.2
In synchronous operation, the values in a number of TCNT counters can be rewritten
simultaneously (synchronous presetting). Also, a number of TCNT counters can be cleared
simultaneously by making the appropriate setting in TCR (synchronous clearing).
Synchronous operation enables TGR to be incremented with respect to a single time base.
Channels 0 to 4 can all be designated for synchronous operation. Channel 5 cannot be used for
synchronous operation.
(1)
Figure 12.12 shows an example of the synchronous operation setting procedure.
Rev. 2.00 Sep. 07, 2007 Page 462 of 1164
REJ09B0321-0200
Example of Synchronous Operation Setting Procedure:
[1] Set to 1 the SYNC bits in TSYR corresponding to the channels to be designated for synchronous
[2] When the TCNT counter of any of the channels designated for synchronous operation is written to,
[3] Use bits CCLR2 to CCLR0 in TCR to specify TCNT clearing by input capture/output compare, etc.
[4] Use bits CCLR2 to CCLR0 in TCR to designate synchronous clearing for the counter clearing source.
[5] Set to 1 the CST bits in TSTR for the relevant channels, to start the count operation.
<Synchronous presetting>
Synchronous presetting
Synchronous Operation
Synchronous operation
operation.
the same value is simultaneously written to the other TCNT counters.
Set synchronous
Figure 12.12 Example of Synchronous Operation Setting Procedure
Set TCNT
operation
selection
[1]
[2]
Synchronous clearing
<Counter clearing>
source generation
clearing source
Select counter
Start count
channel?
Clearing
Yes
No
[3]
[5]
<Synchronous clearing>
Set synchronous
counter clearing
Start count
[4]
[5]

Related parts for R5S72011