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

GMS87C5108Q 参数 Datasheet PDF下载

GMS87C5108Q图片预览
型号: GMS87C5108Q
PDF下载: 下载PDF文件 查看货源
内容描述: [Microcontroller, 8-Bit, OTPROM, 4.19MHz, CMOS, PQFP80, QFP-80]
分类和应用: 微控制器和处理器可编程只读存储器
文件页数/大小: 102 页 / 1525 K
品牌: HYNIX [ HYNIX SEMICONDUCTOR ]
 浏览型号GMS87C5108Q的Datasheet PDF文件第36页浏览型号GMS87C5108Q的Datasheet PDF文件第37页浏览型号GMS87C5108Q的Datasheet PDF文件第38页浏览型号GMS87C5108Q的Datasheet PDF文件第39页浏览型号GMS87C5108Q的Datasheet PDF文件第41页浏览型号GMS87C5108Q的Datasheet PDF文件第42页浏览型号GMS87C5108Q的Datasheet PDF文件第43页浏览型号GMS87C5108Q的Datasheet PDF文件第44页  
GMS81C5108  
10.2 Operation Mode Switching  
:
:
:
In the Main active mode, only the high-frequency clock os-  
cillator is used.  
In the Sub active mode, the low-frequency clock oscilla-  
tion is used, so the low power voltage operation or the low  
power consumption operation can be enabled. Instruction  
execution does not stop during the change of operation  
mode. In this case, some peripheral hardware capabilities  
may be affected. For details, refer to the description of the  
relevant operation.  
;about 65ms software delay  
DELAY: LDA  
DELAY0: INC  
CMP  
#0  
A
#85H  
DELAY0  
BCC  
RET  
The following describes the switching between the Main  
active mode and the Sub active mode. During reset, the  
system clock mode register is initialized at the Main active  
mode. It must be set to the Sub active mode for reducing  
the power consumption.  
Shifting from the Normal operation to the SLEEP  
mode  
By setting bit 0 of SMR, the CPU clock stops and the  
SLEEP mode is invoked. The CPU stops while other pe-  
ripherals are operate normally.  
Switching from Main active to Sub active  
First, write “02H” into lower 2 bits of SCMR to switch the  
main system clock to the sub-frequency clock.  
Next, write “03H” to turn off main frequency oscillation.  
The way of release from this mode is RESET and all avail-  
able interrupts.  
For more detail, See " SLEEP Mode" on page 39  
Example:  
:
Shifting from the Normal operation to the STOP  
mode  
:
:
LDM SCMR,#02H ;Switch to sub active  
By executing STOP instruction, the main-frequency clock  
oscillation stops and the STOP mode is invoked. But sub-  
frequency clock oscillation is operated continuously.  
After the STOP operation is released by reset, the opera-  
tion mode is changed to Main active mode.  
LDM SCMR,#03H ;Turn off main clock  
:
:
The methods of release are RESET, Key scan interrupt,  
Watch Timer interrupt, Timer/Event counter1 (EC0 pin),  
SIO (External clock) and External Interrupt.  
Returning from Sub active to Main active  
First, write “02H” into lower 2 bits of the SCMR to turn on  
the main-frequency oscillation. This time, the stabilization  
(warm-up) time needs to be taken by the software delay  
routine. Sub active mode can also be released by setting the  
RESET pin to low, which immediately performs the reset  
operation. After reset, the GMS81C5108 is placed in Main  
active mode.  
For more details, see " STOP Mode" on page 40.  
Note: In the STOP and SLOW operating modes, the power  
consumption by the oscillator and the internal hardware is  
reduced. However, the power for the pin interface (depend-  
ing on external circuitry and program) is not directly associ-  
ated with the low-power consumption operation. This must  
be considered in system design as well as interface circuit  
design.  
Example:  
:
:
:
LDM SCMR,#02H ;Turn on main-clock  
CALL DELAY  
LDM SCMR,#0  
;Wait until stable  
;Move to main active  
JUNE 2001 Ver 1.0  
37  
 复制成功!