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

EM78P259N 参数 Datasheet PDF下载

EM78P259N图片预览
型号: EM78P259N
PDF下载: 下载PDF文件 查看货源
内容描述: 8位OTP微 [8-Bit Microprocessor with OTP ROM]
分类和应用: OTP只读存储器
文件页数/大小: 88 页 / 2435 K
品牌: ELAN [ ELAN MICROELECTRONICS CORP ]
 浏览型号EM78P259N的Datasheet PDF文件第51页浏览型号EM78P259N的Datasheet PDF文件第52页浏览型号EM78P259N的Datasheet PDF文件第53页浏览型号EM78P259N的Datasheet PDF文件第54页浏览型号EM78P259N的Datasheet PDF文件第56页浏览型号EM78P259N的Datasheet PDF文件第57页浏览型号EM78P259N的Datasheet PDF文件第58页浏览型号EM78P259N的Datasheet PDF文件第59页  
EM78P259N/260N  
8-Bit Microprocessor with OTP ROM  
3. ADWE bit of the RE register is set to “1.” Wake-up from ADC conversion (where it  
remains in operation during sleep mode).  
4. Wake-up and executes the next instruction if ADIE bit of IOCE0 is enabled and the  
“DISI” instruction is executed.  
5. Wake-up and enters into Interrupt vector (address 0x00C) if ADIE bit of IOCE0 is  
enabled and the “ENI” instruction is executed.  
6. Enters into Interrupt vector (address 0x00C) if ADIE bit of IOCE0 is enabled and the  
“ENI” instruction is executed.  
The results are fed into the ADDATA, ADDATA1H, and ADDATA1L registers when the  
conversion is completed. If the ADIE is enabled, the device will wake up. Otherwise,  
the AD conversion will be shut off, no matter what the status of ADPD bit is.  
6.7.6 Programming Process/Considerations  
6.7.6.1 Programming Process  
Follow these steps to obtain data from the ADC:  
1. Write to the four bits (ADE3:ADE0) on the R8 (AISR) register to define the  
characteristics of R5 (digital I/O, analog channels, or voltage reference pin)  
2. Write to the R9/ADCON register to configure the AD module:  
a) Select the ADC input channel (ADIS1:ADIS0)  
b) Define the AD conversion clock rate (CKR1:CKR0)  
c) Select the VREFS input source of the ADC  
d) Set the ADPD bit to 1 to begin sampling  
3. Set the ADWE bit, if the wake-up function is employed  
4. Set the ADIE bit, if the interrupt function is employed  
5. Write “ENI” instruction, if the interrupt function is employed  
6. Set the ADRUN bit to 1  
7. Write “SLEP” instruction or Polling.  
8. Wait for wake-up, ADRUN bit is cleared (“0” value), interrupt flag (ADIF) to be set  
“1,” or the ADC interrupt to occur.  
9. Read the ADDATA or ADDATA1H and ADDATA1L conversion data registers. If the  
ADC input channel changes at this time, the ADDATA, ADDATA1H, and  
ADDATA1L values can be cleared to ‘0’.  
10. Clear the interrupt flag bit (ADIF)  
Product Specification (V1.0) 06.16.2005  
49  
(This specification is subject to change without further notice)  
 复制成功!