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

PIC16F688-I/ST 参数 Datasheet PDF下载

PIC16F688-I/ST图片预览
型号: PIC16F688-I/ST
PDF下载: 下载PDF文件 查看货源
内容描述: 14引脚基于闪存的8位CMOS微控制器采用纳瓦技术 [14-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology]
分类和应用: 闪存微控制器
文件页数/大小: 202 页 / 3832 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F688-I/ST的Datasheet PDF文件第66页浏览型号PIC16F688-I/ST的Datasheet PDF文件第67页浏览型号PIC16F688-I/ST的Datasheet PDF文件第68页浏览型号PIC16F688-I/ST的Datasheet PDF文件第69页浏览型号PIC16F688-I/ST的Datasheet PDF文件第71页浏览型号PIC16F688-I/ST的Datasheet PDF文件第72页浏览型号PIC16F688-I/ST的Datasheet PDF文件第73页浏览型号PIC16F688-I/ST的Datasheet PDF文件第74页  
PIC16F688  
8.1.5  
INTERRUPTS  
8.1.6  
RESULT FORMATTING  
The ADC module allows for the ability to generate an  
interrupt upon completion of an Analog-to-Digital  
Conversion. The ADC interrupt flag is the ADIF bit in  
the PIR1 register. The ADC interrupt enable is the ADIE  
bit in the PIE1 register. The ADIF bit must be cleared in  
software.  
The 10-bit A/D Conversion result can be supplied in  
two formats, left justified or right justified. The ADFM bit  
of the ADCON0 register controls the output format.  
Figure 8-4 shows the two output formats.  
Note:  
The ADIF bit is set at the completion of  
every conversion, regardless of whether  
or not the ADC interrupt is enabled.  
This interrupt can be generated while the device is  
operating or while in Sleep. If the device is in Sleep, the  
interrupt will wake-up the device. Upon waking from  
Sleep, the next instruction following the SLEEP  
instruction is always executed. If the user is attempting  
to wake-up from Sleep and resume in-line code  
execution, the global interrupt must be disabled. If the  
global interrupt is enabled, execution will switch to the  
Interrupt Service Routine.  
Please see Section 8.1.5 “Interrupts” for more  
information.  
FIGURE 8-3:  
10-BIT A/D CONVERSION RESULT FORMAT  
ADRESH  
ADRESL  
LSB  
(ADFM = 0)  
MSB  
bit 7  
bit 0  
bit 0  
bit 7  
bit 7  
bit 0  
10-bit A/D Result  
Unimplemented: Read as ‘0’  
(ADFM = 1)  
MSB  
LSB  
bit 0  
bit 7  
Unimplemented: Read as ‘0’  
10-bit A/D Result  
DS41203D-page 68  
© 2007 Microchip Technology Inc.  
 复制成功!