70
7.5
Watchdog Timer (WDT)
CW6632B Bluetooth 3.0 Audio Player SOC
Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
next instruction.
During Sleep mode, CW6632B can be wakeup by WDT with reset.
During Deep Sleep mode, CW6632B cannot be wakeup by WDT.
7.5.2
Watchdog SFR
Register 7-19 WDTCON
– Watchdog control
Position
7
6
5
4
3
2
1
0
Name
WDTPD
WDTTO
CLRWDT
WDTEN
RSTEN
WDTPS
Default
0
0
0
1
1
1
0
1
Access
RO
RO
WO
R/W
R/W
R/W
R/W
R/W
WDTPD
:
0 = read „0‟ before sleep operation
1 = read „1‟ after sleep operation
WDTTO
:
0 = Read „0‟ after clear Watchdog or Power up
1 = Read „1‟ after Watchdog time out
CLRWDT
:
1 = Clear WDT counter
0 = No action
WDTEN
:
0 = Disables the Watchdog timer
1 = Enables the Watchdog timer
RSTEN
:
0 = Disables the Watchdog reset
1 = Enables the Watchdog reset
WDTPS
: WDT time out period setting
000 = 2ms
001 = 8ms
010 = 32ms
011 = 128ms
100 = 512ms
101 = 2048ms
110 = 8192ms
111 = 32768ms