Datasheet

PIC14000
DS40122B-page 62
Preliminary
1996 Microchip Technology Inc.
8.7
A/D Control Registers
Two A/D control registers are provided on the
PIC14000 to control the conversion process. These are
ADCON0 (1Fh) and ADCON1 (9Fh). Both registers are
readable and writable.
TABLE 8-3: A/D CONTROL AND STATUS REGISTER 0
1Fh Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
ADCON0
ADCS3 ADCS2 ADCS1 ADCS0 AMUXOE ADRST ADZERO
Read/Write
R/W R/W R/W R/W U R/W R/W R/W
POR value 02h
0000 0 0 1 0
Bit Name Function
B7-B4
ADCS3
ADCS2
ADCS1
ADCS0
A/D Channel Selects. Refer to Table 8-1.
B3 Unimplemented. Read as ‘0’.
B2 AMUXOE
Analog Mux Output Enable
1 = Connect AMUX Output to RA0/AN0 pin (overrides TRISA<0> setting)
0 = RA0/AN0 pin normal
B1 ADRST
A/D Reset Control Bit
1 = Stop the A/D Timer, discharge CDAC capacitor
0 = Normal operation (A/D running)
B0 ADZERO
A/D Zero Select Control. (Refer to Section 9.2)
1 = Enable zeroing operation on RA1/AN1 and RD5/AN5
0 = Normal operation (sample RA1/AN1 and RD5/AN5 pins)