|
PIC16F1847_13 Datasheet, PDF (122/440 Pages) Microchip Technology – 18/20/28-Pin Flash Microcontrollers with XLP Technology | |||
|
◁ |
PIC16(L)F1847
REGISTER 12-7: ANSELA: PORTA ANALOG SELECT REGISTER
U-0
â
bit 7
U-0
U-0
R/W-1/1
R/W-1/1
R/W-1/1
â
â
ANSA4
ANSA3
ANSA2
R/W-1/1
ANSA1
R/W-1/1
ANSA0
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
â1â = Bit is set
W = Writable bit
x = Bit is unknown
â0â = Bit is cleared
U = Unimplemented bit, read as â0â
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-5
bit 4-0
Unimplemented: Read as â0â
ANSA<4:0>: Analog Select between Analog or Digital Function on pins RA<4:0>, respectively
0 = Digital I/O. Pin is assigned to port or digital special function.
1 = Analog input. Pin is assigned as analog input(1). Digital input buffer disabled.
Note 1: When setting a pin to an analog input, the corresponding TRIS bit must be set to Input mode in order to
allow external control of the voltage on the pin.
DS40001453D-page 122
Preliminary
ï£ 2011-2013 Microchip Technology Inc.
|
▷ |