239
CHAPTER 15 WATCH TIMER
15.2
Watch Timer Registers
The Watch Timer has the following five types of registers:
• Timer control register (WTCR)
• Subsecond register (WTBR)
• Second register (WTSR)
• Minute register (WTMR)
• Hour register (WTHR)
■
Watch Timer Registers
Figure 15.2-1 Watch Timer Registers
Notes:
•
Clearing the clock counter affects the watchdog counter and interval interrupts that use clock
timer output.
•
To clear the clock timer by writing "0" to the WTR bit in the clock timer control register (WTCR),
set the WTIE bit to "0" and set the clock timer to interrupt inhibited state. Before permitting an
interrupt, clear the interrupt request issued by writing "0" to the WTOF flag.
Timer control regi
s
ter
Addre
ss
:
000060
000061
H
H
WTCR
15 14 1
3
12 11 10 9
8
7 6 5 4
3
2 1 0
R/W
R/W
R/W - -
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0 0 0 X X 0 0 0
0 0 0 0 0 0 0 0
Initi
a
l v
a
l
u
e:
Re
s
erved Re
s
erved Re
s
erved
UPDT
OE
S
T
INTE
3
INT
3
INTE2 INT2 INTE1 INT1 INTE0 INT0
Sub
-
s
econd regi
s
ter (0)
Addre
ss
:
00
3
54A
00
3
54B
H
H
WTBR0
15 14 1
3
12 11 10 9
8
7 6 5 4
3
2 1 0
R/W
R/W
R/W R/W R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
X X X X X X X X
X X X X X X X X
Initi
a
l v
a
l
u
e:
D10
D9
D
8
D7
D6
D5
D4
D
3
D2
D1
D0
D15
D14
D1
3
D12
D11
S
econd regi
s
ter/
Addre
ss
:
00
3
54C
00
3
54D
H
H
WTBR1
15 14 1
3
12 11 10 9
8
7 6 5 4
3
2 1 0
-
-
R/W R/W R/W
R/W
R/W
R/W
-
-
R/W
R/W
R/W
R/W
R/W
R/W
X X X X X X X X
X X X X X X X X
Initi
a
l v
a
l
u
e:
S
2
S
1
S
0
-
-
D21
D20
D19
D1
8
D17
D16
-
-
S
5
S
4
S3
-
-
Ho
u
r Regi
s
ter/
Addre
ss
:
00
3
54E
00
3
54F
H
H
WTMR
15 14 1
3
12 11 10 9
8
7 6 5 4
3
2 1 0
-
-
- R/W R/W
R/W
R/W
R/W
-
-
R/W
R/W
R/W
R/W
R/W
R/W
X X X X X X X X
X X X X X X X X
Initi
a
l v
a
l
u
e:
H2
H1
H0
-
-
M5
M4
M
3
M2
M1
M0
-
-
-
H4
H
3
WT
S
R
Min
u
te Regi
s
ter
WTHR
Sub
-
s
econd regi
s
ter (1)
b
it
b
it
b
it
b
it
Summary of Contents for MB90390 Series
Page 2: ......
Page 4: ......
Page 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Page 18: ...xiv ...
Page 132: ...104 CHAPTER 5 CLOCKS ...
Page 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Page 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Page 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Page 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Page 274: ...246 CHAPTER 15 WATCH TIMER ...
Page 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Page 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Page 364: ...336 CHAPTER 19 UART0 UART1 ...
Page 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Page 432: ...404 CHAPTER 20 UART2 UART3 ...
Page 482: ...454 CHAPTER 22 SERIAL I O ...
Page 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Page 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Page 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Page 722: ...694 APPENDIX ...
Page 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Page 740: ......