Datasheet
Data Sheet ADuC845/ADuC847/ADuC848
Rev. C | Page 43 of 108
ADC0CON1 (PRIMARY ADC CONTROL REGISTER)
ADC0CON1 is used to configure the primary ADC for buffer, unipolar, or bipolar coding, and ADC range configuration.
SFR Address: D2H
Power-On Default: 07H
Bit Addressable: No
Table 25. ADC0CON1 SFR Bit Designations
Bit No. Name Description
7, 6 BUF1, BUF0 Buffer Configuration Bits.
BUF1 BUF0 Buffer Configuration
0
0
ADC0+ and ADC0− are buffered
0 1 Reserved
1 0 Buffer Bypass
1 1 Reserved
5 UNI Primary ADC Unipolar Bit.
Set by the user to enable unipolar coding; zero differential input results in 000000H output.
Cleared by the user to enable bipolar coding; zero differential input results in 800000H output.
4 ––– Not Implemented. Write Don’t Care.
3 ––– Not Implemented. Write Don’t Care.
2, 1, 0 RN2, RN1, RN0 Primary ADC Range Bits. Written by the user to select the primary ADC input range as follows:
RN2 RN1 RN0 Selected primary ADC input range (V
REF
= 2.5 V)
0 0 0 ±20 mV (0 mV–20 mV in unipolar mode)
0 0 1 ±40 mV (0 mV–40 mV in unipolar mode)
0 1 0 ±80 mV (0 mV–80 mV in unipolar mode)
0 1 1 ±160 mV (0 mV–160 mV in unipolar mode)
1 0 0 ±320 mV (0 mV–320 mV in unipolar mode)
1 0 1 ±640 mV (0 mV–640 mV in unipolar mode)
1
1
0
±1.28 V (0 V–1.28 V in unipolar mode)
1 1 1 ±2.56 V (0 V–2.56 V in unipolar mode)