MS51
Nov. 28, 2019 Page 360 of 491 Rev 1.00
MS51 32K SERIES TECHNICAL REFERENCE MANUAL
6.8.2 Control register of WKT
WKCON – Self Wake-up Timer Control
WKT overflow flag
This bit is set when WKT overflows. If the WKT interrupt and the global interrupt are enabled,
setting this bit will make CPU execute WKT interrupt service routine. This bit is not automatically
cleared via hardware and should be cleared via software.
WKT run control
0 = WKT is halted.
1 = WKT starts running.
Note that the reload register RWK can only be written when WKT is halted (WKTR bit is 0). If
WKT is written while WKTR is 1, result is unpredictable.
WKT pre-scalar
These bits determine the pre-scale of WKT clock.
000 = 1/1.
001 = 1/4.
010 = 1/16.
011 = 1/64.
100 = 1/256.
101 = 1/512.
110 = 1/1024.
111 = 1/2048.