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

C8051F530-IM 参数 Datasheet PDF下载

C8051F530-IM图片预览
型号: C8051F530-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 8/4/2 KB ISP功能的Flash MCU系列 [8/4/2 kB ISP Flash MCU Family]
分类和应用:
文件页数/大小: 220 页 / 2701 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F530-IM的Datasheet PDF文件第52页浏览型号C8051F530-IM的Datasheet PDF文件第53页浏览型号C8051F530-IM的Datasheet PDF文件第54页浏览型号C8051F530-IM的Datasheet PDF文件第55页浏览型号C8051F530-IM的Datasheet PDF文件第57页浏览型号C8051F530-IM的Datasheet PDF文件第58页浏览型号C8051F530-IM的Datasheet PDF文件第59页浏览型号C8051F530-IM的Datasheet PDF文件第60页  
C8051F52x-53x  
5.4.1. Window Detector In Single-Ended Mode  
Figure 5.7  
ADC0LTH:ADC0LTL = 0x0200 (512d) and ADC0GTH:ADC0GTL = 0x0100 (256d). The input voltage can  
range from ‘0’ to V x (4095/4096) with respect to GND, and is represented by a 12-bit unsigned integer  
shows  
two  
example  
window  
comparisons  
for  
right-justified  
data  
with  
REF  
value. The repeat count is set to one. In the left example, an AD0WINT interrupt will be generated if the  
ADC0 conversion word (ADC0H:ADC0L) is within the range defined by ADC0GTH:ADC0GTL and  
ADC0LTH:ADC0LTL (if 0x0100 < ADC0H:ADC0L < 0x0200). In the right example, and AD0WINT interrupt  
will be generated if the ADC0 conversion word is outside of the range defined by the ADC0GT and  
ADC0LT registers (if ADC0H:ADC0L < 0x0100 or ADC0H:ADC0L > 0x0200). Figure 5.8 shows an exam-  
ple using left-justified data with the same comparison values.  
ADC0H:ADC0L  
0x0FFF  
ADC0H:ADC0L  
0x0FFF  
Input Voltage  
(Px.x - GND)  
Input Voltage  
(Px.x - GND)  
VREF x (4095/4096)  
VREF x (4095/  
4096)  
AD0WINT  
not affected  
AD0WINT=1  
0x0201  
0x0201  
VREF x (512/4096)  
VREF x (256/4096)  
0x0200  
0x01FF  
ADC0LTH:ADC0LTL  
VREF x (512/4096)  
VREF x (256/4096)  
0x0200  
0x01FF  
ADC0GTH:ADC0GTL  
AD0WINT  
not affected  
AD0WINT=1  
0x0101  
0x0100  
0x0101  
0x0100  
ADC0GTH:ADC0GTL  
ADC0LTH:ADC0LTL  
0x00FF  
0x00FF  
AD0WINT=1  
AD0WINT  
not affected  
0x0000  
0x0000  
0
0
Figure 5.7. ADC Window Compare Example: Right-Justified Single-Ended Data  
ADC0H:ADC0L  
0xFFF0  
ADC0H:ADC0L  
0xFFF0  
Input Voltage  
(Px.x - GND)  
Input Voltage  
(Px.x - GND)  
VREF x (4095/4096)  
VREF x (4095/4096)  
AD0WINT  
not affected  
AD0WINT=1  
0x2010  
0x2010  
VREF x (512/4096)  
VREF x (256/4096)  
0x2000  
0x1FF0  
ADC0LTH:ADC0LTL  
VREF x (512/4096)  
VREF x (256/4096)  
0x2000  
0x1FF0  
ADC0GTH:ADC0GTL  
AD0WINT  
not affected  
AD0WINT=1  
0x1010  
0x1000  
0x1010  
0x1000  
ADC0GTH:ADC0GTL  
ADC0LTH:ADC0LTL  
0x0FF0  
0x0FF0  
AD0WINT=1  
AD0WINT  
not affected  
0x0000  
0x0000  
0
0
Figure 5.8. ADC Window Compare Example: Left-Justified Single-Ended Data  
56  
Rev. 0.3  
 复制成功!