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

PIC12F683-I/SNG 参数 Datasheet PDF下载

PIC12F683-I/SNG图片预览
型号: PIC12F683-I/SNG
PDF下载: 下载PDF文件 查看货源
内容描述: [8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO8, 3.90 MM, PLASTIC, SOIC-8]
分类和应用: 闪存微控制器
文件页数/大小: 148 页 / 2282 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC12F683-I/SNG的Datasheet PDF文件第55页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第56页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第57页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第58页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第60页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第61页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第62页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第63页  
PIC12F683  
A/D  
conversion  
sample.  
Instead,  
the  
9.1.5  
STARTING A CONVERSION  
ADRESH:ADRESL registers will retain the value of the  
previous conversion. After an aborted conversion, a  
2 TAD delay is required before another acquisition can  
be initiated. Following the delay, an input acquisition is  
automatically started on the selected channel.  
The A/D conversion is initiated by setting the  
GO/DONE bit (ADCON0<1>). When the conversion is  
complete, the A/D module:  
• Clears the GO/DONE bit  
• Sets the ADIF flag (PIR1<6>)  
• Generates an interrupt (if enabled)  
Note:  
The GO/DONE bit should not be set in the  
same instruction that turns on the A/D.  
If the conversion must be aborted, the GO/DONE bit  
can be cleared in software. The ADRESH:ADRESL  
registers will not be updated with the partially complete  
FIGURE 9-2:  
A/D CONVERSION TAD CYCLES  
TCY to TAD  
TAD1 TAD2 TAD3 TAD4 TAD5 TAD6  
TAD  
7
TAD  
8
TAD9 TAD10 TAD11  
b9  
b8  
b7  
b6  
b5  
b4  
b3  
b2  
b1  
b0  
Conversion Starts  
Holding Capacitor is Disconnected from Analog Input (typically 100 ns)  
Set GO bit  
ADRESH and ADRESL registers are Loaded,  
GO bit is Cleared,  
ADIF bit is Set,  
Holding Capacitor is Connected to Analog Input  
9.1.6  
CONVERSION OUTPUT  
The A/D conversion can be supplied in two formats: left  
or right shifted. The ADFM bit (ADCON0<7>) controls  
the output format. Figure 9-3 shows the output formats.  
FIGURE 9-3:  
10-BIT A/D RESULT FORMAT  
ADRESH  
ADRESL  
LSB  
(ADFM = 0)  
MSB  
bit 7  
bit 0  
bit 7  
bit 0  
10-bit A/D Result  
Unimplemented: Read as ‘0’  
(ADFM = 1)  
MSB  
LSB  
bit 0  
bit 7  
bit 0  
bit 7  
Unimplemented: Read as ‘0’  
10-bit A/D Result  
2004 Microchip Technology Inc.  
Preliminary  
DS41211B-page 57  
 复制成功!