Megawin Technology Co., Ltd.
MG87FE/L52
11.0 Watch-Dog-Timer
WDTCR ( Watch-Dog-Timer Control Register )
Name
Bit7
Bit6
-
Bit5
Bit4
Bit3
Bit2
PS2
Bit1
PS1
Bit0
PS0
WDTCR
WRF
ENW
CLRW
WIDL
WRF Watch-Dog timer overflow flag. Set by hardware when Watch-Dog timer overflow.
ENW Enable WDT while it is set. ENW can not be cleared by firmware.
CLRW Clear WDT to re-count while it is set. Hardware will automatically clear this bit.
WIDL Set this bit to stop WDT counting and disable WDT reset generating when uC is in idle
mode.
PS2 ~ PS1: select the pre-scaler output.
PS2
0
PS1
0
PS0
0
Pre-scaler value
2
4
0
0
1
0
1
0
8
0
1
1
16
32
64
128
256
1
0
0
1
0
1
1
1
0
1
1
1
32
Preliminary ver 1.3
Date: 2009-JAN-20