C8051F120DK Silicon Laboratories Inc, C8051F120DK Datasheet - Page 100

DEVKIT-F120/21/22/23/24/25/26/27

C8051F120DK

Manufacturer Part Number
C8051F120DK
Description
DEVKIT-F120/21/22/23/24/25/26/27
Manufacturer
Silicon Laboratories Inc
Type
MCUr
Datasheet

Specifications of C8051F120DK

Contents
Evaluation Board, Power Supply, USB Cables, Adapter and Documentation
Processor To Be Evaluated
C8051F12x and C8051F13x
Interface Type
USB
Silicon Manufacturer
Silicon Labs
Core Architecture
8051
Silicon Core Number
C8051F120
Silicon Family Name
C8051F12x
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
C8051F120, 121, 122, 123, 124, 125, 126, 127
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1224

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
C8051F120DK
Manufacturer:
SiliconL
Quantity:
4
Part Number:
C8051F120DK
Manufacturer:
*
Quantity:
1
C8051F120/1/2/3/4/5/6/7
C8051F130/1/2/3
7.3.
The ADC2 Programmable Window Detector continuously compares the ADC2 output to user-programmed
limits, and notifies the system when a desired condition is detected. This is especially effective in an inter-
rupt-driven system, saving code space and CPU bandwidth while delivering faster system response times.
The window detector interrupt flag (AD2WINT in register ADC2CN) can also be used in polled mode. The
ADC2 Greater-Than (ADC2GT) and Less-Than (ADC2LT) registers hold the comparison values. Example
comparisons for Differential and Single-ended modes are shown in Figure 7.6 and Figure 7.5, respectively.
Notice that the window detector flag can be programmed to indicate when measured data is inside or out-
side of the user-programmed limits, depending on the contents of the ADC2LT and ADC2GT registers.
7.3.1. Window Detector In Single-Ended Mode
Figure 7.5 shows two example window comparisons for Single-ended mode, with ADC2LT = 0x20 and
ADC2GT = 0x10. Notice that in Single-ended mode, the codes vary from 0 to VREF*(255/256) and are
represented as 8-bit unsigned integers. In the left example, an AD2WINT interrupt will be generated if the
ADC2
(if 0x10  ADC2  0x20). In the right example, and AD2WINT interrupt will be generated if ADC2 is outside
of the range defined by ADC2GT and ADC2LT (if ADC2  0x10 or ADC2  0x20).
100
(AIN2.x - AGND)
REF x (255/256)
REF x (32/256)
REF x (16/256)
Input Voltage
ADC2 Programmable Window Detector
conversion
0
Figure 7.5. ADC2 Window Compare Examples, Single-Ended Mode
ADC2
0xFF
0x21
0x20
0x1F
0x11
0x10
0x0F
0x00
word
(ADC2)
not affected
not affected
AD2WINT
AD2WINT
ADC2GT
ADC2LT
is
within
AD2WINT=1
Rev. 1.4
the
(AIN2.x - AGND)
REF x (255/256)
REF x (32/256)
REF x (16/256)
Input Voltage
range
0
defined
ADC2
0xFF
0x1F
0x0F
0x21
0x20
0x11
0x10
0x00
by
ADC2GT
not affected
AD2WINT
ADC2GT
ADC2LT
and
AD2WINT=1
AD2WINT=1
ADC2LT

Related parts for C8051F120DK