Pwm1&2 Compare Registers - Fujitsu MB90420/5 (A) Series Hardware Manual

F2mc-16lx family 16-bit microcontrollers
Table of Contents

Advertisement

MB90420/5 (A) SERIES F
15.2.2 PWM1&2 Compare Registers
The contents of the two 8-/10-bit PWM1&2 compare registers determine the widths of PWM pulses.
The stored value of "00
99.6% (99.9%).
n PWM 1&2 compare registers
PWM1&2 compare registers are accessible at any time, however the modified values are reflected to the
pulse width at the end of the current PWM cycle after the BS bit of the PWM2 select register is set to "1".
Always perform word access to this register.
PWM1 compare register
PWM2 compare register
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
" ("000
") represents the PWM duty of 0% and "FF
H
H
7
6
5
D7
D6
D5
R/W
R/W
R/W
X
X
X
15
14
13
7
6
5
D7
D6
D5
R/W
R/W
R/W
X
X
X
15
14
13
Register value
000
H
80
(200
)
H
H
128 (512) input cycles
FF
(3FF
)
H
H
255 (1023) input cycles
4
3
2
D4
D3
D2
R/W
R/W
R/W
X
X
X
12
11
10
4
3
2
D4
D3
D2
R/W
R/W
R/W
X
X
X
12
11
10
One PWM cycle
256 (1024) input cycle
15-6
" ("3FF
") represents the duty of
H
H
1
0
D1
D0
R/W
R/W
X
X
9
8
D9
D8
R/W
R/W
X
X
1
0
D1
D0
R/W
R/W
X
X
9
8
D9
D8
R/W
R/W
X
X

Advertisement

Table of Contents
loading

Table of Contents