欢迎访问ic37.com |
会员登录 免费注册
发布采购

GMS81C2112Q 参数 Datasheet PDF下载

GMS81C2112Q图片预览
型号: GMS81C2112Q
PDF下载: 下载PDF文件 查看货源
内容描述: 海力士半导体的8位单芯片微控制器产品 [HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS]
分类和应用: 半导体微控制器
文件页数/大小: 107 页 / 1484 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS81C2112Q的Datasheet PDF文件第76页浏览型号GMS81C2112Q的Datasheet PDF文件第77页浏览型号GMS81C2112Q的Datasheet PDF文件第78页浏览型号GMS81C2112Q的Datasheet PDF文件第79页浏览型号GMS81C2112Q的Datasheet PDF文件第81页浏览型号GMS81C2112Q的Datasheet PDF文件第82页浏览型号GMS81C2112Q的Datasheet PDF文件第83页浏览型号GMS81C2112Q的Datasheet PDF文件第84页  
GMS81C2112/GMS81C2120
17.2 Stop Mode
In the Stop mode, the on-chip oscillator is stopped. With
the clock frozen, all functions are stopped, but the on-chip
RAM and Control registers are held. The port pins out the
values held by their respective port data register, port di-
rection registers. Oscillator stops and the systems internal
operations are all held up.
• The states of the RAM, registers, and latches valid
immediately before the system is put in the STOP
state are all held.
• The program counter stop the address of the
instruction to be executed after the instruction
"STOP" which starts the STOP operating mode.
The Stop mode is activated by execution of STOP in-
struction after clearing the bit WAKEUP of CKCTLR
to “0”. (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)
In the Stop mode of operation, V
DD
can be reduced to min-
imize power consumption. Care must be taken, however,
to ensure that V
DD
is not reduced before the Stop mode is
invoked, and that V
DD
is restored to its normal operating
level, before the Stop mode is terminated.
The reset should not be activated before V
DD
is restored to
its normal operating level, and must be held active long
enough to allow the oscillator to restart and stabilize.
Note:
After STOP instruction, at least two or more NOP in-
struction should be written
Ex)
LDM CKCTLR,#0000_1110B
STOP
NOP
NOP
Release the STOP mode
The exit from STOP mode is hardware reset or external in-
terrupt. Reset re-defines 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 val-
ues.
If I-flag = 1, the normal interrupt response takes place. If I-
flag = 0, the chip will resume execution starting with the
instruction following the STOP instruction. It will not vec-
tor to interrupt service routine. (refer to Figure 17-1)
When exit from Stop mode by external interrupt, enough
oscillation stabilization time is required to normal opera-
tion. Figure 17-2 shows the timing diagram. When release
the Stop 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 instruction, user must be set its relevant prescaler di-
vide ratio to have long enough time (more than 20msec).
This guarantees that oscillator has started and stabilized.
By reset, exit from Stop mode is shown in Figure .
STOP
INSTRUCTION
STOP Mode
Interrupt Request
=0
IEXX
=1
STOP Mode Release
Corresponding Interrupt
Enable Bit (IENH, IENL)
Master Interrupt
Enable Bit PSW[2]
I-FLAG
=1
=0
In the STOP operation, the dissipation of the power asso-
ciated with the oscillator and the internal hardware is low-
ered; however, the power dissipation associated with the
pin interface (depending on the external circuitry and pro-
gram) is not directly determined by the hardware operation
of the STOP feature. This point should be little current
flows when the input level is stable at the power voltage
level (V
DD
/V
SS
); however, when the input level gets high-
er than the power voltage level (by approximately 0.3 to
0.5V), a current begins to flow. Therefore, if cutting off the
output transistor at an I/O port puts the pin signal into the
high-impedance state, a current flow across the ports input
transistor, requiring to fix the level by pull-up or other
means.
Interrupt Service Routine
Next
INSTRUCTION
Figure 17-1 STOP Releasing Flow by Interrupts
74
JUNE. 2001 Ver 1.00