C8051F060-TB Silicon Laboratories Inc, C8051F060-TB Datasheet - Page 99

BOARD PROTOTYPING W/C8051F060

C8051F060-TB

Manufacturer Part Number
C8051F060-TB
Description
BOARD PROTOTYPING W/C8051F060
Manufacturer
Silicon Laboratories Inc
Type
MCUr
Datasheets

Specifications of C8051F060-TB

Contents
Board
Processor To Be Evaluated
C8051F06x
Interface Type
USB
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
C8051F060
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
7.3.1. Window Detector In Single-Ended Mode
Figure 7.15 shows two example window comparisons for right-justified, single-ended data, with
ADC2LTH:ADC2LTL = 0x0080 (128d) and ADC2GTH:ADC2GTL = 0x0040 (64d). In single-ended mode,
the input voltage can range from ‘0’ to VREF * (1023/1024) with respect to AGND, and is represented by a
10-bit unsigned integer value. In the left example, an AD2WINT interrupt will be generated if the ADC2
conversion word (ADC2H:ADC2L) is within the range defined by ADC2GTH:ADC2GTL and
ADC2LTH:ADC2LTL (if 0x0040 < ADC2H:ADC2L < 0x0080). In the right example, and AD2WINT interrupt
will be generated if the ADC2 conversion word is outside of the range defined by the ADC2GT and
ADC2LT registers (if ADC2H:ADC2L < 0x0040 or ADC2H:ADC2L > 0x0080). Figure 7.16 shows an exam-
ple using left-justified data with the same comparison values.
VREF x (1023/1024)
VREF x (1023/1024)
VREF x (128/1024)
VREF x (128/1024)
VREF x (64/1024)
VREF x (64/1024)
(P1.x - AGND)
(P1.x - AGND)
Input Voltage
Input Voltage
0
0
Figure 7.15. ADC Window Compare Example: Right-Justified Single-Ended Data
Figure 7.16. ADC Window Compare Example: Left-Justified Single-Ended Data
ADC2H:ADC2L
ADC2H:ADC2L
0xFFC0
0x03FF
0x007F
0x003F
0x1FC0
0x0FC0
0x0081
0x0080
0x0041
0x0040
0x0000
0x2040
0x2000
0x1040
0x1000
0x0000
ADC2GTH:ADC2GTL
ADC2GTH:ADC2GTL
ADC2LTH:ADC2LTL
ADC2LTH:ADC2LTL
not affected
not affected
not affected
not affected
AD2WINT
AD2WINT
AD2WINT
AD2WINT
AD2WINT=1
AD2WINT=1
Rev. 1.2
VREF x (1023/1024)
VREF x (1023/1024)
VREF x (128/1024)
VREF x (128/1024)
VREF x (64/1024)
VREF x (64/1024)
(P1.x - AGND)
(P1.x - AGND)
C8051F060/1/2/3/4/5/6/7
Input Voltage
Input Voltage
0
0
ADC2H:ADC2L
ADC2H:ADC2L
0xFFC0
0x03FF
0x0081
0x0080
0x007F
0x0041
0x0040
0x003F
0x0000
0x1FC0
0x0FC0
0x2040
0x2000
0x1040
0x1000
0x0000
ADC2GTH:ADC2GTL
ADC2GTH:ADC2GTL
ADC2LTH:ADC2LTL
ADC2LTH:ADC2LTL
not affected
not affected
AD2WINT
AD2WINT
AD2WINT=1
AD2WINT=1
AD2WINT=1
AD2WINT=1
99

Related parts for C8051F060-TB