r5f71374an80fpv Renesas Electronics Corporation., r5f71374an80fpv Datasheet - Page 374

no-image

r5f71374an80fpv

Manufacturer Part Number
r5f71374an80fpv
Description
32-bit Risc Microcomputer Superh?? Risc Engine Family
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F71374AN80FPV
Manufacturer:
TI
Quantity:
1 001
Section 10 Multi-Function Timer Pulse Unit 2 (MTU2)
Example of PWM Mode Setting Procedure: Figure 10.25 shows an example of the PWM mode
setting procedure.
Examples of PWM Mode Operation: Figure 10.26 shows an example of PWM mode 1
operation.
In this example, TGRA compare match is set as the TCNT clearing source, 0 is set for the TGRA
initial output value and output value, and 1 is set as the TGRB output value.
In this case, the value set in TGRA is used as the period, and the values set in the TGRB registers
are used as the duty levels.
Rev. 1.00 Sep. 21, 2007 Page 348 of 1124
REJ09B0402-0100
Select counter clearing
Select counter clock
Select waveform
Figure 10.25 Example of PWM Mode Setting Procedure
Set PWM mode
<PWM mode>
PWM mode
output level
Start count
Set TGR
source
[1]
[2]
[3]
[4]
[5]
[6]
[1] Select the counter clock with bits TPSC2 to
[2] Use bits CCLR2 to CCLR0 in TCR to select
[3] Use TIOR to designate the TGR as an output
[4] Set the cycle in the TGR selected in [2], and
[5] Select the PWM mode with bits MD3 to MD0
[6] Set the CST bit in TSTR to 1 to start the
TPSC0 in TCR. At the same time, select the
input clock edge with bits CKEG1 and
CKEG0 in TCR.
the TGR to be used as the TCNT clearing
source.
compare register, and select the initial value
and output value.
set the duty in the other TGR.
in TMDR.
count operation.

Related parts for r5f71374an80fpv