C8051T610DK Silicon Laboratories Inc, C8051T610DK Datasheet - Page 48

KIT DEV FOR C8051T61X MCU'S

C8051T610DK

Manufacturer Part Number
C8051T610DK
Description
KIT DEV FOR C8051T61X MCU'S
Manufacturer
Silicon Laboratories Inc
Type
MCUr
Datasheets

Specifications of C8051T610DK

Contents
Board, daughter boards, power adapter, cables, documentation and software
Processor To Be Evaluated
C8051T61x
Interface Type
USB
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
C8051T610
For Use With
336-1507 - DAUGHTER BOARD T610 24QFN SOCKET336-1506 - DAUGHTER BOARD T610 28QFN SOCKET336-1505 - DAUGHT BOARD T610 32TQFP SOCKET
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1443
C8051T610/1/2/3/4/5/6/7
8.4.1. Window Detector Example
Figure 8.4
ADC0LTH:ADC0LTL = 0x0080 (128d) and ADC0GTH:ADC0GTL = 0x0040 (64d). 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 8.5 shows an example using left-justi-
fied data with the same comparison values.
48
VREF x (128/1024)
VREF x (128/1024)
VREF x (64/1024)
VREF x (64/1024)
VREF x (1023/
VREF x (1023/
Input Voltage
(AIN - GND)
Input Voltage
(AIN - GND)
1024)
1024)
0
0
Figure 8.4. ADC Window Compare Example: Right-Justified Data
Figure 8.5. ADC Window Compare Example: Left-Justified Data
shows
ADC0H:ADC0L
ADC0H:ADC0L
0xFFC0
0x1FC0
0x0FC0
0x2040
0x2000
0x1040
0x1000
0x0000
0x03FF
0x007F
0x003F
0x0081
0x0080
0x0041
0x0040
0x0000
two
example
ADC0GTH:ADC0GTL
ADC0GTH:ADC0GTL
ADC0LTH:ADC0LTL
ADC0LTH:ADC0LTL
not affected
not affected
not affected
not affected
AD0WINT
AD0WINT
AD0WINT
AD0WINT
window
AD0WINT=1
AD0WINT=1
Rev 1.0
comparisons
VREF x (128/1024)
VREF x (128/1024)
VREF x (64/1024)
VREF x (64/1024)
VREF x (1023/
VREF x (1023/
Input Voltage
Input Voltage
(AIN - GND)
(AIN - GND)
1024)
1024)
0
0
ADC0H:ADC0L
ADC0H:ADC0L
for
0xFFC0
0x1FC0
0x0FC0
0x03FF
0x007F
0x003F
0x2040
0x2000
0x1040
0x1000
0x0000
0x0081
0x0080
0x0041
0x0040
0x0000
right-justified
ADC0GTH:ADC0GTL
ADC0GTH:ADC0GTL
ADC0LTH:ADC0LTL
ADC0LTH:ADC0LTL
not affected
not affected
AD0WINT
AD0WINT
data,
AD0WINT=1
AD0WINT=1
AD0WINT=1
AD0WINT=1
with

Related parts for C8051T610DK