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

EM78P458 参数 Datasheet PDF下载

EM78P458图片预览
型号: EM78P458
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-BIT MICRO-CONTROLLER]
分类和应用: 微控制器
文件页数/大小: 76 页 / 2078 K
品牌: ELAN [ ELAN MICROELECTRONICS CORP ]
 浏览型号EM78P458的Datasheet PDF文件第33页浏览型号EM78P458的Datasheet PDF文件第34页浏览型号EM78P458的Datasheet PDF文件第35页浏览型号EM78P458的Datasheet PDF文件第36页浏览型号EM78P458的Datasheet PDF文件第38页浏览型号EM78P458的Datasheet PDF文件第39页浏览型号EM78P458的Datasheet PDF文件第40页浏览型号EM78P458的Datasheet PDF文件第41页  
EM78P458/459  
OTP ROM  
MOV A, @0BXXXXXXX1  
IOW PORT6  
; To define P60 as an input pin, and the others are dependent  
; on applications  
MOV A, @0B01000101  
IOW GCON  
; To enable the OP1, and set the gain as 32  
BS ADCONR, ADPD  
ENI  
; To disable the power-down mode of ADC  
; Enable the interrupt function  
; Start to run the ADC  
BS ADCONR, ADRUN  
; If the interrupt function is employed, the following three lines may be ignored  
POLLING:  
JBC ADCONR, ADRUN  
; To check the ADRUN bit continuously;  
JMP POLLING  
; ADRUN bit will be reset as the AD conversion is completed  
(User program)  
:
:
:
4.8 Dual Sets of PWM ( Pulse Width Modulation )  
1. Overview  
In PWM mode, both PWM1 and PWM2 pins produce up to a 10-bit resolution PWM output (see. Fig.  
13 for the functional block diagram). A PWM output has a period and a duty cycle, and it keeps the  
output in high. The baud rate of the PWM is the inverse of the period. Fig. 14 depicts the relationships  
between a period and a duty cycle.  
This specification is subject to change without prior notice.  
37  
06.25.2004 (V1.4)  
 复制成功!