欢迎访问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文件第61页浏览型号EM78P341的Datasheet PDF文件第62页浏览型号EM78P341的Datasheet PDF文件第63页浏览型号EM78P341的Datasheet PDF文件第64页浏览型号EM78P341的Datasheet PDF文件第66页浏览型号EM78P341的Datasheet PDF文件第67页浏览型号EM78P341的Datasheet PDF文件第68页浏览型号EM78P341的Datasheet PDF文件第69页  
EM78P341N/342N/343N  
8-Bit Microprocessor with OTP ROM  
CLRRE:  
MOV A,RE  
AND A, @0BXX0XXXXX ; To clear the ADIF bit, “X” by application  
MOV RE,A  
BS ADCON, ADRUN  
; To start to execute the next AD conversion  
if necessary  
RETI  
INITIAL:  
MOV A,@0B00000001  
MOV AISR,A  
; To define P50 as an analog input  
MOV A,@0B00001000  
; To select P50 as an analog input channel, and  
AD power on  
MOV ADCON,A  
; To define P50 as an input pin and set clock  
rate at fosc/16  
En_ADC:  
MOV A, @0BXXXXXXX1 ; To define P50 as an input pin, and the others  
IOW PORT5 ; are dependent on applications  
MOV A, @0BXXXX1XXX ; Enable the ADWE wake-up function of ADC, “X”  
by application  
MOV RE,A  
MOV A, @0BXXXX1XXX ; Enable the ADIE interrupt function of ADC,  
“X” by application  
IOW C_INT  
ENI  
; Enable the interrupt function  
; Start to run the ADC  
BS ADCON, ADRUN  
; If the interrupt function is employed, the following three lines  
may be ignored  
;If Sleep:  
SLEP  
;
;(User program section)  
;
or  
;If Polling:  
POLLING:  
JBC ADCON, ADRUN  
JMP POLLING  
; To check the ADRUN bit continuously;  
; ADRUN bit will be reset as the AD conversion  
is completed  
;
;(User program section)  
;
Product Specification (V1.0) 12.01.2006  
(This specification is subject to change without further notice)  
59  
 复制成功!