r8a66170dd Renesas Electronics Corporation., r8a66170dd Datasheet - Page 9

no-image

r8a66170dd

Manufacturer Part Number
r8a66170dd
Description
4-ch 16-bit Pwm Generator
Manufacturer
Renesas Electronics Corporation.
Datasheet
R8A66170DD/SP
(3) Mode 2
This mode is selected by writing D4 = 1 and D3 = 0 in command 1. Fig.11 shows the block diagram of this mode (for
one channel).
The high-level pulse value M is set to the H register of PWM in Mode 0 and 1, but in this mode, the high-level pulse
value M is set to the H register of PWM and the low-level pulse value N is set to the L register of PWM. Therefore, the
pulse width and cycle time T of PWM output are determined by value L of the prescaler register and values M and N of
H and L registers of PWM. (See Fig.7)
REJ03F0272-0100 Rev.1.00 Apr.01.2008
Page 9 of 20
Fig.7 (When H width polarity is “H”)
Internal signal
PWM output
Prescaler output
(PWM clock)
(at L = 1)
Oscillator source
M=65535
N=3
M=3
N=65535
M=1
N=3
M=2
N=3
M=3
N=3
M=3
N=0
M=3
N=1
M=3
N=2
M=3
N=3
M=0
N=3
"L"
"H"
f (X
L+1
f (X
IN
1
) ・M
IN
T=
)
f (X
f (X
L+1
L+1
IN
IN
)
) ・(M+N)
f (X
L+1
IN
) ・N
T
f(X
L
M
N
IN
) :Oscillator frequency (MHz)
:
:Prescaler set value
:
Cycle time (μs)
H width set value
:L width set value

Related parts for r8a66170dd