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

EM77950 参数 Datasheet PDF下载

EM77950图片预览
型号: EM77950
PDF下载: 下载PDF文件 查看货源
内容描述: BB控制器 [BB Controller]
分类和应用: 控制器
文件页数/大小: 102 页 / 928 K
品牌: ELAN [ ELAN MICROELECTRONICS CORP ]
 浏览型号EM77950的Datasheet PDF文件第78页浏览型号EM77950的Datasheet PDF文件第79页浏览型号EM77950的Datasheet PDF文件第80页浏览型号EM77950的Datasheet PDF文件第81页浏览型号EM77950的Datasheet PDF文件第83页浏览型号EM77950的Datasheet PDF文件第84页浏览型号EM77950的Datasheet PDF文件第85页浏览型号EM77950的Datasheet PDF文件第86页  
EM77950  
BB Controller  
ADIE (Bit 6): ADC interrupt enable.  
ADRUN (Bit 7): ADC starts to RUN  
0 = reset on completion of the conversion; this bit cannot be reset by  
software.  
1 = an A/D conversion is started; this bit can be set by software.  
10.2 Programming Steps/Considerations  
Follow these steps to obtain data from the ADC:  
1.  
2.  
Set ADC function power on (PRIE.ADE).  
Write to the three bits (IMS2:IMS0) on the ADCCR register to define the  
characteristics of PD and PF: Digital I/O, analog channels, and voltage reference  
pin;  
3.  
4.  
Write to the ADCAIS register to configure ADC module:  
i
Select ADC input channel (AIPS3: AIPS0)  
ii Define ADC conversion clock rate (CKR2: CKR1: CKR0)  
Set ADC interrupt enable (ADCCR.ADIE). Include the “ENI” instruction, if the  
interrupt function is employed.  
5.  
6.  
7.  
8.  
9.  
Set the ADRUN bit to 1 to begin sampling.  
Wait for either the interrupt flag to be set or the ADC interrupt to occur.  
Read the conversion data register ADDATA.  
Clear the interrupt flag bit (INTF.ADIF).  
For next conversion, go to Step 2 or Step 3 as required. At least 2Tct is required  
before the next acquisition starts.  
NOTE  
To obtain an accurate value, it is necessary to avoid any data transition on the I/O  
pins during AD conversion.  
74 •  
Product Specification (V1.0) 10.09.2007  
(This specification is subject to change without further notice)  
 
 复制成功!