| Electronic Components Datasheet Search |
|
C8051F360 Datasheet(PDF) 60 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
C8051F360 Datasheet(HTML) 60 Page - Silicon Laboratories |
|
60 / 288 page ![]() C8051F360/1/2/3/4/5/6/7/8/9 60 Rev. 1.0 5.4.1. Window Detector In Single-Ended Mode Figure 5.6 shows two example window comparisons for right-justified, single-ended data, with ADC0LTH:ADC0LTL = 0x0080 (128d) and ADC0GTH:ADC0GTL = 0x0040 (64d). In single-ended mode, the input voltage can range from ‘0’ to VREF x (1023/1024) with respect to GND, and is represented by a 10-bit unsigned integer value. 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 0x0040 < ADC0H:ADC0L < 0x0080). 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 < 0x0040 or ADC0H:ADC0L > 0x0080). Figure 5.7 shows an exam- ple using left-justified data with the same comparison values. 0x03FF 0x0081 0x0080 0x007F 0x0041 0x0040 0x003F 0x0000 0 Input Voltage (Px.x - GND) VREF x (1023/1024) VREF x (128/1024) VREF x (64/1024) AD0WINT=1 AD0WINT not affected AD0WINT not affected ADC0LTH:ADC0LTL ADC0GTH:ADC0GTL 0x03FF 0x0081 0x0080 0x007F 0x0041 0x0040 0x003F 0x0000 0 Input Voltage (Px.x - GND) VREF x (1023/1024) VREF x (128/1024) VREF x (64/1024) AD0WINT not affected AD0WINT=1 AD0WINT=1 ADC0H:ADC0L ADC0H:ADC0L ADC0GTH:ADC0GTL ADC0LTH:ADC0LTL 0xFFC0 0x2040 0x2000 0x1FC0 0x1040 0x1000 0x0FC0 0x0000 0 Input Voltage (Px.x - GND) VREF x (1023/1024) VREF x (128/1024) VREF x (64/1024) AD0WINT=1 AD0WINT not affected AD0WINT not affected ADC0LTH:ADC0LTL ADC0GTH:ADC0GTL 0xFFC0 0x2040 0x2000 0x1FC0 0x1040 0x1000 0x0FC0 0x0000 0 Input Voltage (Px.x - GND) VREF x (1023/1024) VREF x (128/1024) VREF x (64/1024) AD0WINT not affected AD0WINT=1 AD0WINT=1 ADC0H:ADC0L ADC0H:ADC0L ADC0LTH:ADC0LTL ADC0GTH:ADC0GTL Figure 5.6. ADC Window Compare Example: Right-Justified Single-Ended Data Figure 5.7. ADC Window Compare Example: Left-Justified Single-Ended Data |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |