PIC12F629/675
REGISTER 7-2:
ANSEL: ANALOG SELECT REGISTER (ADDRESS: 9Fh)
U-0
—
R/W-0
R/W-0
R/W-0
R/W-1
ANS3
R/W-1
ANS2
R/W-1
ANS1
R/W-1
ANS0
ADCS2
ADCS1
ADCS0
bit 7
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
bit 7
Unimplemented: Read as ‘0’
bit 6-4
ADCS<2:0>: A/D Conversion Clock Select bits
000= Fosc/2
001= Fosc/8
010= Fosc/32
x11= FRC (clock derived from a dedicated internal oscillator = 500 kHz max)
100= Fosc/4
101= Fosc/16
110= Fosc/64
bit 3-0
ANS3:ANS0: Analog Select bits
(Between analog or digital function on pins AN<3:0>, respectively.)
1= Analog input; pin is assigned as analog input(1)
0= Digital I/O; pin is assigned to port or special function
Note 1: Setting a pin to an analog input automatically disables the digital input circuitry, weak pull-ups, and inter-
rupt-on-change. The corresponding TRISIO bit must be set to Input mode in order to allow external control
of the voltage on the pin.
DS41190G-page 46
2010 Microchip Technology Inc.