MS51
Nov. 28, 2019
Page
42
of 491
Rev 1.00
MS51
32K
SE
RIES
TE
CHNICAL RE
F
EREN
CE MA
N
UAL
Register
Definition
Add
re
s
s
P
a
ge
MSB
7
6
5
4
3
2
1
LSB
[1]
0
Reset
Value
[2]
TA
PWM0C3L
PWM0 channel 3
duty low byte
DDH
0
PWM0_CH3[7:0]
0000 0000b
-
-
DDH 1
-
-
-
-
-
-
-
-
-
SC0IE
SC0 Interrupt Enable
Control Register
DDH
2
-
-
-
ACERRIEN
BGTIEN
TERRIEN
TBEIEN
RDAIEN
0000 0000b
PWM0C2L
PWM0 channel 2
duty low byte
DCH
0
PWM0_CH2[7:0]
0000 0000b
-
-
DCH 1
-
-
-
-
-
-
-
-
-
SC0ETUR
D1
SC0 ETU Rate
Divider Register
DCH
2
-
SCDIV2
SCDIV1
SCDIV0
ETURDIV1
1
ETURDIV1
0
ETURDIV9 ETURDIV8 0011 0001b
PWM0C1L
PWM0 channel 1
duty low byte
DBH
0
PWM0_CH1[7:0]
0000 0000b
-
-
DBH 1
-
-
-
-
-
-
-
-
-
SC0ETUR
D0
SC0 ETU Rate
Divider Register
DBH
2
ETURDIV[7:0]
0111 0011b
PWM0C0L
PWM0 channel 0
duty low byte
DAH
0
PWM0C0[7:0]
0000 0000b
-
-
DAH 1
-
-
-
-
-
-
-
-
-
SC0EGT
SC0Cn0 Extra Guard
Time Register
DAH
2
SC0EGT[7:0]
0000 0000b
PWM0PL
PWM0 period low
byte
D9H
0
PWM0P[7:0]
0000 0000b
-
-
D9H 1
-
-
-
-
-
-
-
-
-
SC0DR
SC0 Data Register
D9H 2
SC0DR[7:0]
0000 0000b
PWM0CO
N0
PWM0 control
register 0
D8H 0 PWM0RUN
LOAD
PWMF
CLRPWM PWM3RUN PWM2RUN PWM1RUN
P33FBINE
N
0000 0000b
PWM0FB
D
Brake data
D7H
0
FBF
FBINLS
FBD5
FBD4
FBD3
FBD2
FBD1
R/W
0000 0000b
-
-
D7H 1
-
-
-
-
-
-
-
-
-
XTLCON
XTL Clock Control
D7H 2
-
HXSG2
HXSG1
HXSG0
-
-
-
0111 0111b
Y
PNP
PWM0 negative
polarity
D6H
0
-
-
PNP5
PNP4
PNP3
PNP2
PNP1
PNP0
0000 0000b
-
-
D6H 1
-
-
-
-
-
-
-
-
-
PWM3INT
C
PWM3 Interrupt
Control
D6H
2
-
-
INTTYP1
INTTYP0
-
INTSEL2
INTSEL1
INTSEL0 0000 0000b
PWM0C3
H
PWM0 channel 3
duty high byte
D5H
0
PWM0_CH3[15:8]
0000 0000b
-
-
D5H 1
-
-
-
-
-
-
-
-
-
PWM3CO
N1
PWM3 control 1
D5H
2 PWMMOD1 PWMMOD0 PWMTYP
-
PWMDIV2
PWMDIV1
PWMDIV0 0000 0000b
PWM0C2
H
PWM0 channel 2
duty high byte
D4H
0
PWM0_CH2[15:8]
0000 0000b
-
-
D4H 1
-
-
-
-
-
-
-
-
-
PWM3CO
N0
PWM3 control 0
D4H
2
PWMRUN
LOAD
PWMF
CLRPWM
-
-
-
-
0000 0000b
PWM0C1
H
PWM0 channel 1
duty high byte
D3H
0
PWM0_CH1[15:8]
0000 0000b
-
-
D3H 1
-
-
-
-
-
-
-
-
-
PWM3_C
H1L
PWM3 channel 1
duty low byte
D3H
2
PWM3_CH1[7:0]
0000 0000b
PWM0C0
H
PWM0 channel 0
duty high byte
D2H
0
PWM0C0[15:8]
0000 0000b
-
-
D2H 1
-
-
-
-
-
-
-
-
-
PWM3_C
H0L
PWM3 channel 0
duty low byte
D2H
2
PWM3_CH0[7:0]
0000 0000b
PWM0PH
PWM0 period high
byte
D1H
0
PWM0P[15:8]
0000 0000b
-
-
D1H 1
-
-
-
-
-
-
-
-
-
PWM3PL
PWM3 period low
byte
D1H
2
PWM3P[7:0]
0000 0000b
PSW
Program status word D0H A
CY
AC
F0
RS1
RS0
OV
-
P
0000 0000b
ADCMPH
ADC compare high
byte
CFH
0
ADCMP[11:4]
0000 0000b
-
-
CFH 1
-
-
-
-
-
-
-
-
-
EIPH2
Extensive Interrupt
Priority High 2
CFH
2
-
-
-
-
-
PUART4H
PUART3H
PUART2H
0000 0000b
ADCMPL
ADC compare low
byte
CEH
0
-
-
-
-
ADCMP3
ADCMP2
ADCMP1
ADCMP0 0000 0000b
-
-
CEH 1
-
-
-
-
-
-
-
-
-
EIP2
Extensive interrupt
priority 1
CEH
2
-
-
-
-
-
PUART4
PUART3
PUART2
0000 0000b
TH2
Timer 2 high byte
CDH 0
TH2[7:0]
0000 0000b
PWM0C5L
PWM0 channel 5
duty low byte
CDH
1
PWM0C5[7:0]
0000 0000b