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

EM78P259NSO14J 参数 Datasheet PDF下载

EM78P259NSO14J图片预览
型号: EM78P259NSO14J
PDF下载: 下载PDF文件 查看货源
内容描述: [EM78Q153SN EM78P153SP EM78P153SN EM78156EH EM78156EP EM78156EM EM78156EKM EM78Q156ELP EM78Q156ELM EM78Q156ELKM EM78P156ELP EM78P156ELM EM78P156ELKM EM78P156NP EM78P156NM EM78447SH EM78447SAP EM78447SAM EM78447SAS EM78447SBP EM78447SBWM EM78Q447SH EM78Q447SAP EM78Q447SAM EM78Q447SBP EM78Q447SBWM EM78P447SAP EM78P447SAM EM78P447SAS EM78P447SBP EM78P447SBWM EM78Q257 EM78Q257AP EM78Q257AM EM78Q257BP EM78Q257BM EM78P257AP EM78P257AM EM78P257BP EM78P257BM EM78451H EM78451P EM78451AQ EM]
分类和应用:
文件页数/大小: 81 页 / 2574 K
品牌: ELAN [ ELAN MICROELECTRONICS CORP ]
 浏览型号EM78P259NSO14J的Datasheet PDF文件第48页浏览型号EM78P259NSO14J的Datasheet PDF文件第49页浏览型号EM78P259NSO14J的Datasheet PDF文件第50页浏览型号EM78P259NSO14J的Datasheet PDF文件第51页浏览型号EM78P259NSO14J的Datasheet PDF文件第53页浏览型号EM78P259NSO14J的Datasheet PDF文件第54页浏览型号EM78P259NSO14J的Datasheet PDF文件第55页浏览型号EM78P259NSO14J的Datasheet PDF文件第56页  
EM78P258N  
8-Bit Microprocessor with OTP ROM  
3. ADWE bit of 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 AD module:  
a) Select ADC input channel (ADIS1:ADIS0)  
b) Define 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 occurs  
9. Read the ADDATA or ADDATA1H and ADDATA1L conversion data registers. If  
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)  
11. For next conversion, go to Step 1 or Step 2 as required. At least 2 Tct is required  
before the next acquisition starts.  
46 •  
Product Specification (V1.0) 06.16.2005  
(This specification is subject to change without further notice)  
 复制成功!