R5F61525 RENESAS [Renesas Technology Corp], R5F61525 Datasheet - Page 343

no-image

R5F61525

Manufacturer Part Number
R5F61525
Description
32-Bit CISC Microcomputer H8SX Family H8SX/1500 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
9.4.2
In synchronous operation, the values in multiple TCNT counters can be rewritten simultaneously
(synchronous presetting). Also, multiple TCNT counters can be cleared simultaneously
(synchronous clearing) by making the appropriate setting in TCR.
Synchronous operation enables TGR to be incremented with respect to a single time base.
Channels 0 to 5 can all be designated for synchronous operation.
(1)
Figure 9.11 shows an example of the synchronous operation setting procedure.
Example of Synchronous Operation Setting Procedure
[1] Set the SYNC bits in TSYR corresponding to the channels to be designated for synchronous operation to 1.
[2] When the TCNT counter of any of the channels designated for synchronous operation is written to, the
[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 the CST bits in TSTR for the relevant channels to 1, to start the count operation.
same value is simultaneously written to the other TCNT counters.
Synchronous Operation
<Synchronous presetting>
Synchronous presetting
Synchronous operation
Figure 9.11 Example of Synchronous Operation Setting Procedure
Set synchronous
Set TCNT
operation
selection
[1]
[2]
Synchronous clearing
<Counter clearing>
source generation
clearing source
Select counter
Start count
channel?
Clearing
Yes
No
[3]
[5]
Rev. 3.00 Mar. 14, 2006 Page 305 of 804
Section 9 16-Bit Timer Pulse Unit (TPU)
<Synchronous clearing>
Set synchronous
counter clearing
Start count
REJ09B0104-0300
[4]
[5]

Related parts for R5F61525