C8051F302 Silicon Laboratories Inc, C8051F302 Datasheet - Page 41

IC 8051 MCU 8K FLASH 11MLP

C8051F302

Manufacturer Part Number
C8051F302
Description
IC 8051 MCU 8K FLASH 11MLP
Manufacturer
Silicon Laboratories Inc
Series
C8051F30xr
Datasheets

Specifications of C8051F302

Core Processor
8051
Core Size
8-Bit
Speed
25MHz
Connectivity
SMBus (2-Wire/I²C), UART/USART
Peripherals
POR, PWM, Temp Sensor, WDT
Number Of I /o
8
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 8x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
11-VQFN
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
I2C, SMBus, UART
Maximum Clock Frequency
25 MHz
Number Of Programmable I/os
8
Number Of Timers
16 bit
Operating Supply Voltage
2.7 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Lead Free Status / Rohs Status
No

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
C8051F302-GMR
Manufacturer:
SiliconL
Quantity:
3 000
Part Number:
C8051F302-GMR
Manufacturer:
SILICON
Quantity:
5 000
Part Number:
C8051F302-GMR
Manufacturer:
SILICONLABS/芯科
Quantity:
20 000
5.4.
The ADC Programmable Window Detector continuously compares the ADC0 output to user-programmed limits, and
notifies the system when a desired condition is detected. This is especially effective in an interrupt-driven system,
saving code space and CPU bandwidth while delivering faster system response times. The window detector interrupt
flag (AD0WINT in register ADC0CN) can also be used in polled mode. The ADC0 Greater-Than (ADC0GT) and
Less-Than (ADC0LT) registers hold the comparison values. Example comparisons for Single-ended and Differential
modes are shown in Figure 5.10 and Figure 5.11, respectively. Notice that the window detector flag can be pro-
grammed to indicate when measured data is inside or outside of the user-programmed limits depending on the con-
tents of the ADC0LT and ADC0GT registers.
5.4.1. Window Detector In Single-Ended Mode
Figure 5.10 shows two example window comparisons for Single-ended mode, with ADC0LT = 0x20 and
ADC0GT = 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 AD0WINT interrupt will be generated if the ADC0 conversion
word (ADC0) is within the range defined by ADC0GT and ADC0LT (if 0x10 < ADC0 < 0x20). In the right example,
and AD0WINT interrupt will be generated if ADC0 is outside of the range defined by ADC0GT and ADC0LT
(if ADC0 < 0x10 or ADC0 > 0x20).
REF x (255/256)
REF x (32/256)
REF x (16/256)
Input Voltage
(P0.x - GND)
Programmable Window Detector
0
Figure 5.10. ADC Window Compare Examples, Single-Ended Mode
ADC0
0xFF
0x21
0x20
0x1F
0x11
0x10
0x0F
0x00
not affected
not affected
AD0WINT
AD0WINT
ADC0GT
ADC0LT
AD0WINT=1
Rev. 2.3
REF x (255/256)
REF x (32/256)
REF x (16/256)
Input Voltage
(P0.x - GND)
0
C8051F300/1/2/3/4/5
ADC0
0xFF
0x1F
0x0F
0x21
0x20
0x11
0x10
0x00
not affected
AD0WINT
ADC0GT
ADC0LT
AD0WINT=1
AD0WINT=1
41

Related parts for C8051F302