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

EM78156EM 参数 Datasheet PDF下载

EM78156EM图片预览
型号: EM78156EM
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器与MASK ROM [8-Bit Microcontroller with MASK ROM]
分类和应用: 微控制器有原始数据的样本ROM
文件页数/大小: 48 页 / 420 K
品牌: ELAN [ ELAN MICROELECTRONICS CORP ]
 浏览型号EM78156EM的Datasheet PDF文件第17页浏览型号EM78156EM的Datasheet PDF文件第18页浏览型号EM78156EM的Datasheet PDF文件第19页浏览型号EM78156EM的Datasheet PDF文件第20页浏览型号EM78156EM的Datasheet PDF文件第22页浏览型号EM78156EM的Datasheet PDF文件第23页浏览型号EM78156EM的Datasheet PDF文件第24页浏览型号EM78156EM的Datasheet PDF文件第25页  
EM78156E  
8-Bit Microcontroller with MASK ROM  
[b] if WDT is enabled before SLEP, Port 6 Input Status Change Interrupt must be  
disabled. Hence, the EM78156E can be awakened only by Case 1 or 2. Refer to  
the section on Interrupt.  
If Port 6 Input Status Change Interrupt is used to wake-up the EM78156E (Case [a]  
above), the following instructions must be executed before SLEP:  
MOV A, @xx000110b  
CONTW  
; Select internal TCC clock  
CLR R1  
; Clear TCC and prescaler  
; Select WDT prescaler  
MOV A, @xxxx1110b  
CONTW  
WDTC  
; Clear WDT and prescaler  
; Disable WDT  
MOV A, @0xxxxxxxb  
IOW RE  
MOV R6, R6  
MOV A, @00000x1xb  
IOW RF  
; Read Port 6  
; Enable Port 6 input change interrupt  
ENI (or DISI)  
SLEP  
; Enable (or disable) global interrupt  
; Sleep  
NOP  
One problem user should be aware of, is that after waking up from the sleep mode,  
WDT would enable automatically. The WDT operation (being enabled or disabled)  
should be handled appropriately by software after waking up from the sleep mode.  
Table 5 The Summary of the Initialized Values for Registers  
Address  
Name  
Reset Type  
Bit Name  
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0  
X
U
U
X
U
U
X
U
U
X
U
U
C53  
1
C52  
1
C51  
1
C50  
1
Power-On  
N/A  
IOC5  
/RESET and WDT  
1
1
1
1
Wake-Up from Pin  
Change  
U
U
U
U
P
P
P
P
Bit Name  
C67  
1
C66  
1
C65  
1
C64  
1
C63  
1
C62  
1
C61  
1
C60  
1
Power-On  
N/A  
N/A  
IOC6  
/RESET and WDT  
1
1
1
1
1
1
1
1
Wake-Up from Pin  
Change  
P
P
P
P
P
P
P
P
CONT  
Bit Name  
X
1
1
/INT  
0
TS  
1
TE  
1
PAB PSR2 PSR1 PSR0  
Power-On  
1
1
1
1
1
1
1
1
/RESET and WDT  
0
1
1
Product Specification (V1.3) 07.29.2004  
17  
(This specification is subject to change without further notice)  
 复制成功!