C8051F040-TB Silicon Laboratories Inc, C8051F040-TB Datasheet - Page 102

BOARD PROTOTYPING W/C8051F040

C8051F040-TB

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

Specifications of C8051F040-TB

Contents
Board
Processor To Be Evaluated
C8051F04x
Interface Type
USB
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
C8051F040
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
C8051F040/1/2/3/4/5/6/7
7.3.2. Window Detector in Differential Mode
Figure 7.6 shows two example window comparisons for differential mode, with ADC2LT = 0x10 (+16d) and
ADC2GT = 0xFF (–1d). Notice that in Differential mode, the codes vary from –VREF to VREF x (127/128)
and are represented as 8-bit 2s complement signed integers. In the left example, an AD2WINT interrupt
will be generated if the ADC2 conversion word (ADC2L) is within the range defined by ADC2GT and
ADC2LT (if 0xFF (–1d) < ADC2 < 0x0F (16d)). In the right example, an AD2WINT interrupt will be gener-
ated if ADC2 is outside of the range defined by ADC2GT and ADC2LT (if ADC2 < 0xFF (–1d) or ADC2 >
0x10 (+16d)).
102
REF x (127/128)
REF x (16/128)
REF x (-1/256)
Input Voltage
(P1.x - P1.y)
-REF
Figure 7.6. ADC Window Compare Examples, Differential Mode
0x80 (-128d)
0x7F (127d)
0x0F (15d)
0x11 (17d)
0x10 (16d)
0xFF (-1d)
0xFE (-2d)
0x00 (0d)
ADC2
not affected
not affected
AD2WINT
AD2WINT
ADC2GT
ADC2LT
AD2WINT=1
Rev. 1.5
REF x (127/128)
REF x (16/128)
REF x (-1/256)
Input Voltage
(P1.x - P1.y)
-REF
0x80 (-128d)
0x7F (127d)
0x11 (17d)
0x10 (16d)
0x0F (15d)
0xFF (-1d)
0xFE (-2d)
0x00 (0d)
ADC2
not affected
AD2WINT
ADC2GT
ADC2LT
AD2WINT=1
AD2WINT=1

Related parts for C8051F040-TB