Microchip Technology MCP1630DM-DDBS1 Scheda Tecnica

Pagina di 176
©
 2007 Microchip Technology Inc.
DS41211D-page 33
PIC12F683
 
REGISTER 4-3:
ANSEL: ANALOG SELECT REGISTER
U-0
R/W-0
R/W-0
R/W-0
R/W-1
R/W-1
R/W-1
R/W-1
ADCS2
ADCS1
ADCS0
ANS3
ANS2
ANS1
ANS0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘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
 = F
OSC
/2
001
 = F
OSC
/8
010
 = F
OSC
/32
x11
 = F
RC
 (clock derived from a dedicated internal oscillator = 500 kHz max)
100
 = F
OSC
/4
101
 = F
OSC
/16
110
 = F
OSC
/64
bit 3-0
ANS<3:0>: Analog Select bits
Analog select 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 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.