C8051F040-TB Silicon Laboratories Inc, C8051F040-TB Datasheet - Page 62

BOARD PROTOTYPING W/C8051F040

C8051F040-TB

Manufacturer Part Number
C8051F040-TB
Description
BOARD PROTOTYPING W/C8051F040
Manufacturer
Silicon Laboratories Inc
Type
MCUr
Datasheets

Specifications of C8051F040-TB

Contents
Board
Processor To Be Evaluated
C8051F04x
Interface Type
USB
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
C8051F040
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
C8051F040/1/2/3/4/5/6/7
5.4.
The ADC0 Programmable Window Detector continuously compares the ADC0 output to user-programmed
limits, and notifies the system when an out-of-bound 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 ADC0CN) can also be used in polled mode. The
high and low bytes of the reference words are loaded into the ADC0 Greater-Than and ADC0 Less-Than
registers (ADC0GTH, ADC0GTL, ADC0LTH, and ADC0LTL). Reference comparisons are shown starting
on page 63. Notice that the window detector flag can be asserted when the measured data is inside or out-
side the user-programmed limits, depending on the programming of the ADC0GTx and ADC0LTx regis-
ters.
62
Bits7-0:
Bits7-0:
Bits7-0:
R/W
R/W
R/W
Bit7
Bit7
Bit7
ADC0 Programmable Window Detector
SFR Definition 5.10. ADC0GTL: ADC0 Greater-Than Data Low Byte
SFR Definition 5.9. ADC0GTH: ADC0 Greater-Than Data High Byte
SFR Definition 5.11. ADC0LTH: ADC0 Less-Than Data High Byte
High byte of ADC0 Greater-Than Data Word.
Low byte of ADC0 Greater-Than Data Word.
High byte of ADC0 Less-Than Data Word.
R/W
R/W
R/W
Bit6
Bit6
Bit6
R/W
R/W
R/W
Bit5
Bit5
Bit5
R/W
R/W
R/W
Bit4
Bit4
Bit4
Rev. 1.5
R/W
R/W
R/W
Bit3
Bit3
Bit3
R/W
R/W
R/W
Bit2
Bit2
Bit2
R/W
R/W
R/W
Bit1
Bit1
Bit1
SFR Address:
SFR Address:
SFR Address:
SFR Page:
SFR Page:
SFR Page:
R/W
R/W
R/W
Bit0
Bit0
Bit0
0xC5
0
0xC4
0
0xC7
0
00000000
Reset Value
Reset Value
Reset Value
11111111
11111111

Related parts for C8051F040-TB