參數(shù)資料
型號(hào): HMS87C1304A
廠商: Hynix Semiconductor Inc.
英文描述: CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
中文描述: CMOS單芯片8位微控制器
文件頁(yè)數(shù): 59/70頁(yè)
文件大小: 977K
代理商: HMS87C1304A
HYUNDAI MicroElectronics
HMS87C1304A/HMS87C1302A
Jan. 2001
Preliminary
59
17.3 Internal RC-Oscillated Watchdog Timer Mode
In the Internal RC-Oscillated Watchdog Timer mode, the
on-chip oscillator is stopped. But internal RC oscillation
circuit is oscillated in this mode. The on-chip RAM and
Control registers are held. The port pins out the values held
by their respective port data register, port direction regis-
ters.
The Internal RC-Oscillated Watchdog Timer mode is
activated by execution of STOP instruction after set-
ting the bit WAKEUP and RCWDT of CKCTLR to
“01”. (This register should be written by byte opera-
tion. If this register is set by bit manipulation instruc-
tion, for example “set1” or “clr1” instruction, it may be
undesired operation)
Note:
After STOP instruction, at least two or more NOP in-
struction should be written
Ex)
LDM WDTR,#1111_1111B
LDM CKCTLR,#0010_1110B
LDM IRQH,#0
LDM IRQL,#0
STOP
NOP
NOP
Release the Internal RC-Oscillated Watchdog Timer mode
The exit from Internal RC-Oscillated Watchdog Timer
mode is hardware reset or external interrupt. Reset re-de-
fines all the Control registers but does not change the on-
chip RAM. External interrupts allow both on-chip RAM
and Control registers to retain their values.
If I-flag = 1, the normal interrupt response takes place. In
this case, if the bit WDTON of CKCTLR is set to “0” and
the bit WDTE of IENH is set to “1”, the device will exe-
cute the watchdog timer interrupt service routine.() How-
ever, if the bit WDTON of CKCTLR is set to “1”, the
device will generate the internal RESET signal and exe-
cute the reset processing. ()
If I-flag = 0, the chip will resume execution starting with
the instruction following the STOP instruction. It will not
vector to interrupt service routine (refer to ).
When exit from Internal RC-Oscillated Watchdog Timer
mode by external interrupt, the oscillation stabilization
time is required for normal operation. shows the timing di-
agram. When release the Internal RC-Oscillated Watchdog
Timer mode, the basic interval timer is activated on wake-
up. It is increased from 00
H
until FF
H
. The count overflow
is set to start normal operation. Therefore, before STOP in-
struction, user must be set its relevant prescaler divide ratio
to have long enough time (more than 20msec). This guar-
antees that oscillator has started and stabilized.
By reset, exit from internal RC-Oscillated Watchdog Tim-
er mode is shown in .
Figure 17-5 Internal RCWDT Mode Releasing by External Interrupt or WDT Interrupt
~
RCWDT Mode
Normal Operation
Oscillator
(X
IN
pin)
~
~
N+1
N
N+2
00
01
FE
FF
00
00
N-1
N-2
~
~
~
~
~
Clear Basic Interval Timer
STOP Instruction Execution
Normal Operation
Stabilization Time
t
ST
> 20mS
Internal
Clock
External
Interrupt
BIT
Counter
~
Internal
RC Clock
(or WDT Interrupt)
相關(guān)PDF資料
PDF描述
HMS87C1302AD CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
HMS87C1304AD CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
HMS99C51 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS99C52 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS9XC7132 DATA SHEET REV.2.0(PRELIMINARY)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HMS87C1304AD 制造商:HYNIX 制造商全稱(chēng):Hynix Semiconductor 功能描述:CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
HMS87C1404B 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS87C1404BD 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS87C1404BSK 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS87C1408B 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLERS