Synchronous Operation - Renesas RZ/A Series User Manual

Hide thumbs Also See for RZ/A Series:
Table of Contents

Advertisement

RZ/A1L Group, RZ/A1LU Group, RZ/A1LC Group
10.4.2

Synchronous Operation

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.
(1) Example of Synchronous Operation Setting Procedure
Figure 10.12 shows an example of the synchronous operation setting procedure.
Synchronous operation
Set synchronous
Synchronous presetting
<Synchronous presetting>
[1] Set to 1 the SYNC bits in TSYR corresponding to the channels to be designated for synchronous
operation.
[2] When the TCNT counter of any of the channels designated for synchronous operation is written to,
the same value is simultaneously written to the other TCNT counters.
[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.
Figure 10.12
Example of Synchronous Operation Setting Procedure
R01UH0437EJ0600 Rev.6.00
Jan 29, 2021
selection
[1]
operation
Synchronous clearing
[2]
Set TCNT
Clearing
No
source generation
channel?
Yes
Select counter
[3]
clearing source
[5]
Start count
<Counter clearing>
10. Multi-Function Timer Pulse Unit 2
Set synchronous
[4]
counter clearing
[5]
Start count
<Synchronous clearing>
10-67

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rz/a1 seriesRz/a1lu seriesRz/a1lc series

Table of Contents