![IXYS zilog Z51F6412 Скачать руководство пользователя страница 71](http://html1.mh-extra.com/html/ixys/zilog-z51f6412/zilog-z51f6412_manual_2098946071.webp)
Z51F6412
Product Specification
PS030302-0212
P R E L I M I N A R Y
68
11.4.4 Watch Timer Register description
The watch timer register (WT) consists of Watch Timer Mode Register (WTMR), Watch Timer
Counter Register (WTCR) and Watch Timer Register (WTR). As WTMR is 6-bit writable/readable
register, WTMR can control the clock source (WTCK), interrupt interval (WTIN) and function
enable/disable (WTEN). Also there is WT interrupt flag bit (WTIFR).
11.4.5 Register description for Watch Timer
WTMR (Watch Timer Mode Register) : 9DH
7
6
5
4
3
2
1
0
WTEN
-
-
WTIFR
WTIN1
WTIN0
WTCK1
WTCK0
R/W
-
-
R/W
R/W
R/W
R/W
R/W
Initial value : 00H
WTEN
Control Watch Timer
0 disable
1 enable
WTIFR
When WT Interrupt occurs, this bit becomes ‘1’. For clearing bit,
write ‘0’ to this bit or auto clear by INT_ACK signal.
0
WT Interrupt no generation
1 WT
Interrupt
generation
WTIN[1:0]
Determine interrupt interval
WTIN1 WTIN0 description
0 0 fwck/2048
0 1 fwck/8192
1 0 fwck/16384
1 1 fwck/16384
x
(7bit
WT
Value)
WTCK[1:0]
Determine Source Clock
WTCK1 WTCK0 description
0 0 fsub
0 1 fx/256
1 0 fx/128
1 1 fx/64
Remark: fx– Main system clock oscillation frequency
fsub- Sub clock oscillation frequency
fwck- selected Watch Timer clock