PIC16F630/676
REGISTER 7-3:
ANSEL—ANALOGSELECTREGISTER(ADRESS:91h)(PIC16F676ONLY)
R/W-1
ANS7
R/W-1
ANS6
R/W-1
ANS5
R/W-1
ANS4
R/W-1
ANS3
R/W-1
ANS2
R/W-1
ANS1
R/W-1
ANS0
bit 7
bit 0
bit 7-0:
ANS<7:0>: Analog Select between analog or digital function on pins AN<7: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 interrupt-on-change if available. The corresponding TRIS bit
must be set to Input mode in order to allow external control of the voltage on the pin.
Legend:
R = Readable bit
W = Writable bit
’1’ = Bit is set
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared x = Bit is unknown
- n = Value at POR
DS40039E-page 46
© 2007 Microchip Technology Inc.