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

EM78P458 参数 Datasheet PDF下载

EM78P458图片预览
型号: EM78P458
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-BIT MICRO-CONTROLLER]
分类和应用: 微控制器
文件页数/大小: 76 页 / 2078 K
品牌: ELAN [ ELAN MICROELECTRONICS CORP ]
 浏览型号EM78P458的Datasheet PDF文件第22页浏览型号EM78P458的Datasheet PDF文件第23页浏览型号EM78P458的Datasheet PDF文件第24页浏览型号EM78P458的Datasheet PDF文件第25页浏览型号EM78P458的Datasheet PDF文件第27页浏览型号EM78P458的Datasheet PDF文件第28页浏览型号EM78P458的Datasheet PDF文件第29页浏览型号EM78P458的Datasheet PDF文件第30页  
EM78P458/459  
OTP ROM  
Table 4 Usage of Port 6 Input Changed Wake-up/Interrupt Function  
Usage of Port 6 Input Status Changed Wake-up/Interrupt  
(I) Wake-up from Port 6 Input Status Change  
(II) Port 6 Input Status Change Interrupt  
1. Read I/O Port 6 (MOV R6,R6)  
2. Execute "ENI"  
(a) Before SLEEP  
1. Disable WDT  
2. Read I/O Port 6 (MOV R6,R6)  
3. Execute "ENI" or "DISI"  
4. Enable interrupt (Set IOCF0.1)  
5. Execute "SLEP" instruction  
(b) After wake-up  
3. Enable interrupt (Set IOCF0.1)  
4. IF Port 6 changed (interrupt)  
Interrupt vector (008H)  
1. IF "ENI" Interrupt vector (008H)  
2. IF "DISI" Next instruction  
4.5 RESET and Wake-up  
1. The function of RESET and Wake-up  
A RESET is initiated by one of the following events-  
(1) Power-on reset  
(2) /RESET pin input "low", or  
(3) WDT time-out (if enabled).  
The device is kept in a RESET condition for a period of approximately 18ms (one oscillator start-up  
timer period) after the reset is detected. Once the RESET occurs, the following functions are  
performed.  
• The oscillator is running, or will be started.  
• The Program Counter (R2) is set to all "0".  
• All I/O port pins are configured as input mode (high-impedance state).  
• The Watchdog Timer and prescaler are cleared.  
• When power is switched on, the upper 3 bits of R3 are cleared.  
• The bits of the CONT register are set to all "1" except for the Bit 6 (INT flag).  
• The bits of the IOCB0 register are set to all "1".  
• The IOCC0 register is cleared.  
• The bits of the IOCD0 register are set to all "1".  
• Bit 7 of the IOCE0 register is set to "1", and Bit 6 is cleared.  
• Bits 0~6 of RF register and bits 0~6 of IOCF0 register are cleared.  
Executing the “SLEP” instruction will assert the sleep (power down) mode. While entering sleep mode,  
the WDT (if enabled) is cleared but keeps on running. The controller can be awakened by-  
(1) External reset input on /RESET pin.  
This specification is subject to change without prior notice.  
26  
06.25.2004 (V1.4)  
 复制成功!