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

EM78P5841 参数 Datasheet PDF下载

EM78P5841图片预览
型号: EM78P5841
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8 BIT MICROCONTROLLER]
分类和应用: 微控制器
文件页数/大小: 48 页 / 467 K
品牌: ELAN [ ELAN MICROELECTRONICS CORP ]
 浏览型号EM78P5841的Datasheet PDF文件第22页浏览型号EM78P5841的Datasheet PDF文件第23页浏览型号EM78P5841的Datasheet PDF文件第24页浏览型号EM78P5841的Datasheet PDF文件第25页浏览型号EM78P5841的Datasheet PDF文件第27页浏览型号EM78P5841的Datasheet PDF文件第28页浏览型号EM78P5841的Datasheet PDF文件第29页浏览型号EM78P5841的Datasheet PDF文件第30页  
EM78P5840/5841/5842  
8-bit Micro-controller  
A/D conversion complete interrupt. The status and control register of A/D (IOCB PAGE1 and RE PAGE0  
Bit5) responses the A/D conversion status or takes control on A/D. The A/D data register (RB PAGE1)  
stores A/D conversion result.  
ADI bit in IOCE PAGE0 register is end of A/D conversion complete interrupt enable/disable. It  
enables/disables ADI flag in RE register when A/D conversion is complete. ADI flag indicates the end of an  
A/D conversion. The A/D converter sets the interrupt flag, ADI in RE PAGE0 register when a conversion is  
complete. The interrupt can be disabled by setting ADI bit in IOCE PAGE0 Bit5 to ‘0’.  
The A/D converter has eight analog input channels AD1~AD8 multiplexed into one sample and hold to A/D  
module. Reference voltage can be driven from internal power. The A/D converter itself is of an 10-bit  
successive approximation type and produces lost significant 8-bit result in the RB PAGE1 and most  
significant 2 bit to R7 PAGE1 bit4, bit5. A conversion is initiated by setting a control bit ADST in IOCB  
PAGE1 Bit0. Prior to conversion, the appropriate channel must be selected by setting IN0~IN2 bits in RE  
register and allowed for enough time to sample data. Every conversion data of A/D need 12-clock cycle  
time. The minimum conversion time required is 13 us (73K sample rate). ADST Bit in IOCB PAGE1 Bit0  
must be set to begin a conversion.  
It will be automatically reset in hardware when conversion is complete. At the end of conversion, the  
START bit is cleared and the A/D interrupt is activated if ADI in IOCE PAGE0 Bit5 = 1. ADI will be set  
when conversion is complete. It can be reset in software.  
If ADI = 0 in IOCE PAGE0 Bit5, when A/D start conversion by setting ADST(IOCB PAGE1 Bit0) =  
1 then A/D will continue conversion without stop and hardware won’t reset ADST bit. In this condition,  
ADI is deactived. After ADI in IOCE PAGE0 bit5 is set, ADI in RE PAGE0 bit5 will activate again.  
To minimum operating current , all biasing circuits in the A/D module that consume DC current are power  
down when ADPWR bit in IOCB PAGE1 Bit2 register is a ’0’. When ADPWR bit is a ‘1’, A/D converter  
module is operating.  
1
2
3
4
5
6
7
8
9
10  
START  
SAMPLE  
ADI(IOCE PAGE0 bit5 ) =1  
ADI(RE PAGE0 bit 5)  
Clear by software  
DATA  
Fig.8 A/D converter timing  
Bit 6: Undefined register. Please clear this bit to 0.  
Bit 7 (PWM2) : PWM2 interrupt enable bit  
0/1 Î disable/enable interrupt  
__________________________________________________________________________________________________________________________________________________________________  
* This specification is subject to change without notice.  
24  
2004/11/10 V2.6  
 复制成功!