C8051F300-TB Silicon Laboratories Inc, C8051F300-TB Datasheet - Page 46

no-image

C8051F300-TB

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

Specifications of C8051F300-TB

Contents
Board
Data Bus Width
8 bit
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
C8051F300
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
C8051F300/1/2/3/4/5
5.4.2. Window Detector In Differential Mode
Figure 5.7 shows two example window comparisons for differential mode, with ADC0LT = 0x10 (+16d) and
ADC0GT = 0xFF (–1d). Notice that in Differential mode, the codes vary from –VREF to VREF x (127/128)
and are represented as 8-bit 2’s complement signed integers. In the left example, an AD0WINT interrupt
will be generated if the ADC0 conversion word (ADC0L) is within the range defined by ADC0GT and
ADC0LT (if 0xFF (–1d) < ADC0 < 0x10 (16d)). In the right example, an AD0WINT interrupt will be gener-
ated if ADC0 is outside of the range defined by ADC0GT and ADC0LT (if ADC0 < 0xFF (–1d) or ADC0 >
0x10 (+16d)).
46
Bits7–0: ADC0 Greater-Than Data Word.
Bits7–0: ADC0 Less-Than Data Word.
REF x (127/128)
REF x (16/128)
REF x (-1/256)
Input Voltage
(P0.x - P0.y)
SFR Definition 5.5. ADC0GT: ADC0 Greater-Than Data Byte (C8051F300/2)
R/W
R/W
Bit7
Bit7
-REF
SFR Definition 5.6. ADC0LT: ADC0 Less-Than Data Byte (C8051F300/2)
Figure 5.7. ADC Window Compare Examples, Differential Mode
0x80 (-128d)
0x7F (127d)
R/W
R/W
0x11 (17d)
0x10 (16d)
0x0F (15d)
0xFF (-1d)
0xFE (-2d)
Bit6
Bit6
0x00 (0d)
ADC0
R/W
R/W
Bit5
Bit5
not affected
not affected
AD0WINT
AD0WINT
ADC0GT
ADC0LT
R/W
R/W
Bit4
Bit4
AD0WINT=1
Rev. 2.9
R/W
R/W
Bit3
Bit3
REF x (127/128)
REF x (16/128)
REF x (-1/256)
Input Voltage
(P0.x - P0.y)
-REF
R/W
R/W
Bit2
Bit2
0x80 (-128d)
0x7F (127d)
0x11 (17d)
0x10 (16d)
0x0F (15d)
0xFF (-1d)
0xFE (-2d)
0x00 (0d)
ADC0
R/W
R/W
Bit1
Bit1
not affected
R/W
R/W
Bit0
Bit0
AD0WINT
ADC0GT
ADC0LT
SFR Address:
SFR Address:
AD0WINT=1
AD0WINT=1
Reset Value
00000000
Reset Value
11111111
0xC4
0xC6

Related parts for C8051F300-TB