MS51
Dec. 17, 2019
Page
292
of 316
Rev 1.01
M
S51
SE
RIES
TE
CHNICA
L REF
ERE
N
CE MA
NU
A
L
R/W
Bit
Name
Description
7:0
PWMP[15:8]
PWM period high byte
This byte with PWMPL controls the period of the PWM generator signal.
PWMnH
– PWM Channel 0~5 Duty High Byte n =0,1,2,3,4,5
7
6
5
4
3
2
1
0
PWMCn [15:8], n =0,1,2,3,4,5
R/W
Bit
Name
Description
7:0
PWMCn[15:8]
n=0,1,2,3,4,5
PWMCn duty high byte
This byte with PWMnCxL controls the duty of the output signal PGx from PWM generator.
PWMnCxL
– PWM0/1 Channel 0~5 Duty Low Byte n=0,1; x=0,1,2,3,4,5
7
6
5
4
3
2
1
0
PWMCn [7:0], n =0,1,2,3,4,5
R/W
Bit
Name
Description
Register
SFR Address
Description
Reset Value
PWM0H
D2H, all pages
PWM Channel 0 Duty High Byte
0000_0000 b
PWM1H
D3H, all pages
PWM Channel 1 Duty High Byte
0000_0000 b
PWM2H
D4H, all pages
PWM Channel 2 Duty High Byte
0000_0000 b
PWM3H
D5H, all pages
PWM Channel 3 Duty High Byte
0000_0000 b
PWM4H
C4H, Page 1
PWM Channel 4 Duty High Byte
0000_0000 b
PWM5H
C5H, Page 1
PWM Channel 5 Duty High Byte
0000_0000 b
Register
SFR Address
Description
Reset Value
PWM0L
DAH, all pages
PWM Channel 0 Duty Low Byte
0000_0000 b
PWM1L
DBH, all pages
PWM Channel 1 Duty Low Byte
0000_0000 b
PWM2L
DCH, all pages
PWM Channel 2 Duty Low Byte
0000_0000 b
PWM3L
DDH, all pages
PWM Channel 3 Duty Low Byte
0000_0000 b
PWM4L
CCH, Page 1
PWM Channel 4 Duty Low Byte
0000_0000 b
PWM5L
CDH, Page 1
PWM Channel 5 Duty Low Byte
0000_0000 b