參數(shù)資料
型號(hào): Z80B-CTC
英文描述: Z8 Microcontrollers
中文描述: Z8微控制器
文件頁數(shù): 45/222頁
文件大?。?/td> 1595K
代理商: Z80B-CTC
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁當(dāng)前第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁
Z8 Microcontrollers
Reset—Watch-Dog Timer
ZiLOG
UM001600-Z8X0599
4-7
4.3 WATCH-DOG TIMER (WDT)
The WDT is a retriggerable one-shot timer that resets the
Z8 if it reaches its terminal count. When operating in the
RUN or HALT modes, a WDT reset is functionally equiva-
lent to a hardware
POR
reset. The WDT is initially enabled
by executing the WDT instruction and refreshed on subse-
quent executions of the WDT instruction. The WDT cannot
be disabled after it has been initially enabled. Permanently
enabled WDTs are always enabled and the WDT instruc-
tion is used to refresh it. The WDT circuit is driven by an
on-board RC oscillator or external oscillator from the
XTAL1 pin. The POR clock source is selected with bit 4 of
the Watch-Dog Timer Mode register (WDTMR). In some
cases, a Z8 that offers the WDT but does not have a WDT-
MR register, has a fixed WDT timeout and uses the on
board RC oscillator as the only clock source. Please refer
to specific product specifications for selectability of time-
out, WDT during HALT and STOP modes, source of WDT
clock, and availability of the permanently-on WDT option.
Note:
Execution of the WDT instruction affects the Z
(zero), S (sign), and V (overflow) flags.
Note:
The WDTMR register is accessible only during the
first 60 processor cycles from the execution of the first
instruction after Power-On Reset, Watch-Dog Reset or a
Stop-Mode Recovery. After this point, the register cannot
be modified by any means, intentional or otherwise. The
WDTMR is a write-only register.
The WDTMR is located in Expanded Register File Bank F,
register 0FH. The control bits are described as follows:
WDT Time Select (D1, D0).
Bits 0 and 1 control a tap
circuit that determines the time-out period. Table 4-5
shows the different values that can be obtained. The de-
fault value of D1 and D0 are 0 and 1, respectively.
WDT During HALT (D2).
This bit determines whether
or not the WDT is active during HALT mode. A 1 indicates
active during HALT. The default is 1. A WDT time out dur-
ing HALT mode will reset control register ports to their de-
fault reset conditions.
WDT During STOP (D3).
This bit determines whether
or not the WDT is active during STOP mode. Since XTAL
clock is stopped during STOP Mode, unless as specified
below, the on-board RC must be selected as the clock
source to the POR counter. A 1 indicates active during
STOP. The default is 1. If bits D3 and D4 are both set to 1,
the WDT only, is driven by the external clock during STOP
mode. This feature makes it possible to wake up from
STOP mode from an internal source. Please refer to spe-
cific product specifications for conditions of control and
port registers when the Z8 comes out of STOP mode. A
WDT time out during STOP mode will not reset all control
registers. The reset conditions of the ports from STOP
mode due to WDT time out is the same as if recovered us-
ing any of the other STOP mode sources.
Figure 4-5. Example of Z8 Watch-Dog Timer
Mode Register (Write-Only)
D7 D6 D5 D4 D3 D2 D1 D0
WDTMR (F) 0F
INT
WDT RC SYS
TAP* OSC CLK
00 5 128
01** 10 256
10 20 512
11 80 2048
WDT During HALT
0 OFF
1 ON *
WDT During STOP
0 OFF
1 ON *
XTAL1/INT RC
0 On-Board RC *
1 XTAL
Select for WDT
* Must be 0 for Z86C03
** Default setting after RESET
Reserved (Must be 0)
Table 4-5. Time-Out Period of the WDT
Typical
Time-Out of
Internal RC OSC
5 ms min
15 ms min
25 ms min
100 ms min
Time-Out of
D1
0
0
1
1
D0
0
1
0
1
SYS Clock
256TpC
512TpC
1024TpC
4096TpC
Notes:
TpC = XTAL clock cycle
The default on reset is, D0 = 1 and D1 = 0.
The values given are for VCC = 5.0V.
See the device product specification for exact WDTMR time
out select options available.
相關(guān)PDF資料
PDF描述
Z80B-DART Z8 Microcontrollers
Z80B-PIO Z8 Microcontrollers
Z86E2116PSC Z8 Microcontrollers
Z8300-1PS 8-Bit Microprocessor
Z8300-3PS Microprocessor
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
Z80B-DART 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Z8 Microcontrollers
Z80B-PIO 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Z8 Microcontrollers
Z80B-SIO/O 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Z8 Microcontrollers
Z80C30 制造商:ZILOG 制造商全稱:ZILOG 功能描述:CMOS SCC SERIAL COMMUNICATIONS CONTROLLER
Z80C30-06LME 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Communications Controller