C8051F360/1/2/3/4/5/6/7/8/9
5. 10-Bit ADC (ADC0, C8051F360/1/2/6/7/8/9)
The ADC0 subsystem for the C8051F360/1/2/6/7/8/9 consists of two analog multiplexers (referred to col-
lectively as AMUX0) with 23 total input selections, and a 200 ksps, 10-bit successive-approximation-regis-
ter ADC with integrated track-and-hold and programmable window detector. The AMUX0, data conversion
modes, and window detector are all configurable under software control via the Special Function Registers
shown in Figure 5.1. ADC0 operates in both Single-ended and Differential modes, and may be configured
to measure P1.0-P3.4 (where available), the Temperature Sensor output, or V
with respect to P1.0-
DD
P3.4, VREF, or GND. The ADC0 subsystem is enabled only when the AD0EN bit in the ADC0 Control reg-
ister (ADC0CN) is set to logic ‘1’. The ADC0 subsystem is in low power shutdown when this bit is logic ‘0’.
P1.0
P1.0-1.3 available on
C8051F361/2/6/7/8/9
AMX0P
ADC0CN
P1.7
P2.0
23-to-1
AMUX
VDD
000
001
010
011
100
101
AD0BUSY (W)
P2.7
P3.0
Start
Conversion
Timer 0 Overflow
Timer 2 Overflow
Timer 1 Overflow
CNVSTR Input
Timer 3 Overflow
P3.1-3.4 available on
C8051F360/1/6/8
P3.4
VDD
Temp
Sensor
10-Bit
SAR
(+)
(-)
P1.0
ADC
P1.0-1.3 available on
C8051F361/2/6/7/8/9
P1.7
P2.0
AD0WINT
Window
Compare
Logic
23-to-1
AMUX
AMX0N
32
P2.7
P3.0
ADC0LTH ADC0LTL
ADC0GTH ADC0GTL
P3.1-3.4 available on
C8051F360/1/6/8
P3.4
VREF
GND
ADC0CF
Figure 5.1. ADC0 Functional Block Diagram
Rev. 1.0
47