
MS51
Dec. 17, 2019
Page
77
of 316
Rev 1.01
M
S51
SE
RIES
TE
CHNICA
L REF
ERE
N
CE MA
NU
A
L
SADDR
– Slave 0 Address
Regiser
Address
Reset Value
SADDR
A9H, all pages
0000_0000b
7
6
5
4
3
2
1
0
SADDR[7:0]
R/W
Bit
Name
Description
7:0
SADDR[7:0]
Slave 0 address
This
byte specifies the microcontroller’s own slave address for UATR0 multi-processor
communication.
WDCON
– Watchdog Timer Control
Regiser
Address
Reset Value
WDCON
AAH, all pages, TA protected
POR 0000_0111b
WDT 0000_1UUUb
Others 0000_UUUUb
7
6
5
4
3
2
1
0
WDTR
WDCLR
WDTF
WIDPD
WDTRF
WDPS[2:0]
R/W
R/W
R/W
R/W
R/W
R/W
Bit
Name
Description
7
WDTR
WDT run
This bit is valid only when control bits in WDTEN[3:0] (CONFIG4[7:4]) are all 1. At this time,
WDT works as a general purpose timer.
0 = WDT Disabled.
1 = WDT Enabled. The WDT counter starts running.
6
WDCLR
WDT clear
Setting this bit will reset the WDT count to 00H. It puts the counter in a known state and prohibit
the system from unpredictable reset. The meaning of writing and reading WDCLR bit is
different.
Writing:
0 = No effect.
1 = Clearing WDT counter.
Reading:
0 = WDT counter is completely cleared.
1 = WDT counter is not yet cleared.
5
WDTF
WDT time-out flag
This bit indicates an overflow of WDT counter. This flag should be cleared by software.
4
WIDPD
WDT running in Idle or Power-down mode
This bit is valid only when control bits in WDTEN[3:0] (CONFIG4[7:4]) are all 1. It decides
whether WDT runs in Idle or Power-down mode when WDT works as a general purpose timer.
0 = WDT stops running during Idle or Power-down mode.
1 = WDT keeps running during Idle or Power-down mode.
3
WDTRF
WDT reset flag
When the MCU is reset by WDT time-out event, this bit will be set via hardware. It is
recommended that the flag be cleared via software.