r5s72060w200fpv Renesas Electronics Corporation., r5s72060w200fpv Datasheet - Page 582

no-image

r5s72060w200fpv

Manufacturer Part Number
r5s72060w200fpv
Description
32-bit Risc Microcomputer Superhtm Risc Engine Family / Sh7200 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5S72060W200FPV
Manufacturer:
NEC
Quantity:
3 490
Part Number:
R5S72060W200FPV
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
R5S72060W200FPV
0
Section 10 Multi-Function Timer Pulse Unit 2 (MTU2)
• Example of Procedure for Suppressing MTU2–MTU2S Synchronous Counter Clearing
• Examples of Suppression of MTU2–MTU2S Synchronous Counter Clearing
Rev. 2.00 Dec. 09, 2005 Page 558 of 1152
REJ09B0191-0200
Figure 10.63 Example of Procedure for Suppressing MTU2–MTU2S Synchronous Counter
An example of the procedure for suppressing MTU2–MTU2S synchronous counter clearing is
shown in figure 10.63.
Figures 10.64 to 10.67 show examples of operation in which the MTU2S operates in
complementary PWM mode and MTU2–MTU2S synchronous counter clearing is suppressed
by setting the SCC bit in TWCR in the MTU2S to 1. In the examples shown in figures 10.64 to
10.67, synchronous counter clearing occurs at timing (3), (6), (8), and (11) shown in figure
10.56, respectively.
In these examples, the WRE bit in TWCR of the MTU2S is set to 1.
Start count operation (MTU2 and MTU2S)
Stop count operation (MTU2 and MTU2S)
• Set the following.
• Complementary PWM mode (MTU2S)
• Compare match/input capture
• Bit WRE in TWCR (MTU2S)
synchronous counter clearing suppress
operation (MTU2)
MTU2-MTU2S synchronous counter
synchronous counter clearing and
Set bit SCC in TWCR (MTU2S)
Output waveform control at
clearing suppress
[1]
[2]
[3]
[4]
[1] Clear bits CST of the timer start register (TSTR) in the MTU2S
[2] Set the complementary PWM mode in the MTU2S and
[3] Set bits CST3 and CST4 of TSTR in the MTU2S to 1 to start
[4] Read TWCR and then set bit SCC in TWCR to 1 to suppress
Note: * The SCC bit value can be modified during counter
Clearing
to 0, and halt count operation. Clear bits CST of TSTR in the
MTU2 to 0, and halt count operation.
compare match/input capture operation in the MTU2. When bit
WRE in TWCR should be set, make appropriate setting here.
count operation. For MTU2-MTU2S synchronous counter
clearing, set bits CST of TSTR in the MTU2 to 1 to start count
operation in any one of TCNT_0 to TCNT_2.
MTU2-MTU2S synchronous counter clearing*. Here, do not
modify the CCE and WRE bit values in TWCR of the MTU2S.
MTU2-MTU2S synchronous counter clearing is suppressed in
the intervals shown in figure 10.62.
operation. However, if a synchronous clearing occurs
when bit SCC is modified from 0 to 1, the synchronous
clearing may not be suppressed. If a synchronous
clearing occurs when bit SCC is modified from 1 to 0, the
synchronous clearing may be suppressed.

Related parts for r5s72060w200fpv