C8051F312 Silicon Laboratories Inc, C8051F312 Datasheet - Page 63

no-image

C8051F312

Manufacturer Part Number
C8051F312
Description
IC 8051 MCU 8K FLASH 32LQFP
Manufacturer
Silicon Laboratories Inc
Series
C8051F31xr
Datasheets

Specifications of C8051F312

Core Processor
8051
Core Size
8-Bit
Speed
25MHz
Connectivity
SMBus (2-Wire/I²C), SPI, UART/USART
Peripherals
POR, PWM, Temp Sensor, WDT
Number Of I /o
29
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
1.25K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 21x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-LQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Other names
336-1151

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
C8051F312
Manufacturer:
SILICON
Quantity:
850
Part Number:
C8051F312
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
C8051F312-GQ
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
Part Number:
C8051F312-GQR
Manufacturer:
Silicon Laboratories Inc
Quantity:
10 000
5.4.1. Window Detector In Single-Ended Mode
Figure 5.6 shows two example window comparisons for right-justified, single-ended data, with
ADC0LTH:ADC0LTL = 0x0080 (128d) and ADC0GTH:ADC0GTL = 0x0040 (64d). In single-ended mode,
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 5.7 shows an exam-
ple using left-justified data with the same comparison values.
Figure 5.6. ADC Window Compare Example: Right-Justified Single-Ended Data
VREF x (1023/1024)
VREF x (1023/1024)
VREF x (128/1024)
VREF x (128/1024)
VREF x (64/1024)
Figure 5.7. ADC Window Compare Example: Left-Justified Single-Ended Data
VREF x (64/1024)
Input Voltage
(Px.x - GND)
Input Voltage
(Px.x - GND)
0
0
ADC0H:ADC0L
ADC0H:ADC0L
0xFFC0
0x1FC0
0x0FC0
0x2040
0x2000
0x1040
0x1000
0x0000
0x03FF
0x0081
0x0080
0x007F
0x0041
0x0040
0x003F
0x0000
ADC0GTH:ADC0GTL
ADC0GTH:ADC0GTL
ADC0LTH:ADC0LTL
ADC0LTH:ADC0LTL
not affected
not affected
not affected
not affected
AD0WINT
AD0WINT
AD0WINT
AD0WINT
AD0WINT=1
AD0WINT=1
Rev. 1.7
VREF x (1023/1024)
VREF x (1023/1024)
VREF x (128/1024)
VREF x (128/1024)
VREF x (64/1024)
VREF x (64/1024)
C8051F310/1/2/3/4/5/6/7
Input Voltage
(Px.x - GND)
Input Voltage
(Px.x - GND)
0
0
ADC0H:ADC0L
ADC0H:ADC0L
0xFFC0
0x03FF
0x0081
0x0080
0x007F
0x0041
0x0040
0x003F
0x0000
0x1FC0
0x0FC0
0x2040
0x2000
0x1040
0x1000
0x0000
ADC0GTH:ADC0GTL
ADC0GTH:ADC0GTL
ADC0LTH:ADC0LTL
ADC0LTH:ADC0LTL
not affected
not affected
AD0WINT
AD0WINT
AD0WINT=1
AD0WINT=1
AD0WINT=1
AD0WINT=1
63

Related parts for C8051F312