C8051F121 Silicon Laboratories Inc, C8051F121 Datasheet - Page 100

no-image

C8051F121

Manufacturer Part Number
C8051F121
Description
IC 8051 MCU FLASH 128K 64TQFP
Manufacturer
Silicon Laboratories Inc
Series
C8051F12xr
Datasheets

Specifications of C8051F121

Core Processor
8051
Core Size
8-Bit
Speed
100MHz
Connectivity
EBI/EMI, SMBus (2-Wire/I²C), SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
32
Program Memory Size
128KB (128K x 8)
Program Memory Type
FLASH
Ram Size
8.25K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Data Converters
A/D 8x8b, 8x12b; D/A 2x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TQFP, 64-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
C8051F121
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
C8051F121-GQ
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
C8051F121-GQR
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
C8051F121-GQR
0
Company:
Part Number:
C8051F121-GQR
Quantity:
10 000
Part Number:
C8051F121R
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
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 C8051F121