HT46R068B/HT46R069B
Enhanced A/D Type 8-bit OTP MCU
f
S
S
Y
/
2
[
W
P
M
]
=
0
1
0
P
W
M
2
5
6
/
4
2
2
2
2
5
5
6
6
6
6
6
6
/
/
/
/
4
4
4
4
2
2
2
2
5
5
5
6
6
6
6
6
/
/
/
/
4
4
4
4
2
5
6
/
4
2
2
2
2
5
6
6
6
6
6
6
6
/
/
/
/
4
4
4
4
[
W
P
M
]
=
0
1
1
P
W
M
2
2
2
6
6
6
6
6
6
/
/
/
4
4
4
2
2
2
5
5
5
6
6
6
/
/
/
4
4
4
[
W
P
M
]
=
0
1
2
P
W
M
[
W
P
M
]
=
0
1
3
P
W
M
P
W
M
m
o
d
a
u
i
o
t
l
n
p
e
i
o
r
d
:
6
4
f
S
S
Y
/
M
o
d
a
u
i
o
t
l
n
c
y
e
0
c
l
M
o
d
a
u
i
o
t
l
n
c
y
e
1
c
l
M
o
d
a
u
i
o
t
l
n
c
y
e
2
c
l
M
o
d
a
u
i
o
t
l
n
c
y
e
3
c
l
M
o
d
a
u
i
o
t
l
n
c
y
e
0
c
l
P
W
M
c
y
e
:
c
2
l
5
f
S
6
S
Y
/
6+2 PWM Mode
b
7
b
0
P
W
M
R
g
e
s
i
e
t
r
6
2
+
(
)
M
o
e
d
A
C
v
l
a
e
u
D
C
v
l
a
e
u
PWM Register for 6+2 Mode
7+1 PWM Mode
Each full PWM cycle, as it is controlled by an 8-bit PWM register, has 256 clock periods.
However, in the 7+1 PWM mode, each PWM cycle is subdivided into two individual sub-cycles
known as modulation cycle 0 ~ modulation cycle 1, denoted as i in the table. Each one of these
two sub-cycles contains 128 clock cycles. In this mode, a modulation frequency increase of two
is achieved. The 8-bit PWM register value, which represents the overall duty cycle of the PWM
waveform, is divided into two groups. The first group which consists of bit1~bit7 is denoted
here as the DC value. The second group which consists of bit0 is known as the AC value. In the
7+1 PWM mode, the duty cycle value of each of the two modulation sub-cycles is shown in the
following table.
DC
Parameter
AC (0~1)
(Duty Cycle)
DC+1
1ꢃ8
DC
i < AC
Modꢀlation cꢂcle i
(i=0~1)
≧
i
AC
1ꢃ8
7+1 Mode Modulation Cycle Values
The following diagram illustrates the waveforms associated with the 7+1 mode PWM operation. It
is important to note how the single PWM cycle is subdivided into 2 individual modulation cycles,
numbered 0 and 1 and how the AC value is related to the PWM value.
Rev. 1.00
59
�anꢀaꢁꢂ ꢃꢄꢅ ꢃ011