MS51
Dec. 17, 2019
Page
123
of 316
Rev 1.01
M
S51
SE
RIES
TE
CHNICA
L REF
ERE
N
CE MA
NU
A
L
PWMCON1
– PWM Control 1
Regiser
Address
Reset Value
PIOCON1
DFH, all pages
0000_0000b
7
6
5
4
3
2
1
0
PWMMOD[1:0]
GP
PWMTYP
FBINEN
PWMDIV[2:0]
R/W
R/W
R/W
R/W
R/W
Bit
Name
Description
5
GP
Group mode enable
This bit enables the group mode. If enabled, the duty of first three pairs of PWM are decided
by PWM01H and PWM01L rather than their original duty control registers.
0 = Group mode Disabled.
1 = Group mode Enabled.
2:0
PWMDIV[2:0]
PWM clock divider
This field decides the pre-scale of PWM clock source.
000 = 1/1.
001 = 1/2
010 = 1/4.
011 = 1/8.
100 = 1/16.
101 = 1/32.
110 = 1/64.
111 = 1/128.