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

EM78P341 参数 Datasheet PDF下载

EM78P341图片预览
型号: EM78P341
PDF下载: 下载PDF文件 查看货源
内容描述: 8位OTP微 [8-Bit Microprocessor with OTP ROM]
分类和应用: OTP只读存储器
文件页数/大小: 102 页 / 1294 K
品牌: ELAN [ ELAN MICROELECTRONICS CORP ]
 浏览型号EM78P341的Datasheet PDF文件第37页浏览型号EM78P341的Datasheet PDF文件第38页浏览型号EM78P341的Datasheet PDF文件第39页浏览型号EM78P341的Datasheet PDF文件第40页浏览型号EM78P341的Datasheet PDF文件第42页浏览型号EM78P341的Datasheet PDF文件第43页浏览型号EM78P341的Datasheet PDF文件第44页浏览型号EM78P341的Datasheet PDF文件第45页  
EM78P341N/342N/343N  
8-Bit Microprocessor with OTP ROM  
6.4.1 Usage of Port 5 Input Change Wake-up/Interrupt Function  
(1) Wake-up  
(a) Before Sleep  
(2) Wake-up and Interrupt  
(a) Before Sleep  
1. Disable WDT  
1. Disable WDT  
2. Read I/O Port 5 (MOV R65R5)  
3. Execute "ENI" or "DISI"  
2. Read I/O Port 5 (MOV R5,R5)  
3. Execute "ENI" or "DISI"  
4. Enable wake-up bit (Set RE  
ICWE =1)  
4. Enable wake-up bit (Set RE ICWE =1)  
5. Execute "SLEP" instruction  
(b) After wake-up  
5. Enable interrupt (Set IOCF ICIE =1)  
6. Execute "SLEP" instruction  
(b) After wake-up  
Next instruction  
1. IF "ENI" Interrupt vector (008H)  
2. IF "DISI" Next instruction  
(3) Interrupt  
(a) Before Port 5 pin change  
1. Read I/O Port 6 (MOV R5,R5)  
2. Execute "ENI" or "DISI"  
3. Enable interrupt (Set IOCF ICIE =1)  
(b) After Port 5 pin changed (interrupt)  
1. IF "ENI" Interrupt vector (006H)  
2. IF "DISI" Next instruction  
6.5 Reset and Wake-up  
6.5.1 Reset and Wake-up Operation  
A reset is initiated by one of the following events:  
1. Power-on reset  
2. /RESET pin input "low"  
3. WDT time-out (if enabled)  
The device is kept in reset condition for a period of approximately 18ms3 (except in LXT  
mode) after the reset is detected. When in LXT mode, the reset time is 500ms. Two  
choices (18ms3 or 4.5ms4) are available for WDT-time out period. Once a reset occurs,  
the following functions are performed (the initial address is 000h):  
„ The oscillator continues running, or will be started (if in sleep mode)  
„ The Program Counter (R2) is set to all "0"  
3
4
VDD=5V, WDT Time-out period = 16.5ms ± 30%.  
VDD=3V, WDT Time-out period = 18ms ± 30%.  
VDD=5V, WDT Time-out period = 4.2ms ± 30%.  
VDD=3V, WDT Time-out period = 4.5ms ± 30%.  
Product Specification (V1.0) 12.01.2006  
(This specification is subject to change without further notice)  
35  
 复制成功!