PIC12F1516 MICROCHIP [Microchip Technology], PIC12F1516 Datasheet - Page 127

no-image

PIC12F1516

Manufacturer Part Number
PIC12F1516
Description
28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
REGISTER 12-18: ANSELD: PORTD ANALOG SELECT REGISTER
TABLE 12-9:
 2010 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
bit 7-0
Note 1:
ANSELD
LATD
PORTD
TRISD
Legend:
Note
R/W-1/1
ANSD7
Name
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.
PIC16F1517/1519 only.
x = unknown, u = unchanged, - = unimplemented locations read as ‘0’. Shaded cells are not used by PORTD.
ANSD<7:0> : Analog Select between Analog or Digital Function on pins RD<7:0>, respectively
0 = Digital I/O. Pin is assigned to port or digital special function.
1 = Analog input. Pin is assigned as analog input
SUMMARY OF REGISTERS ASSOCIATED WITH PORTD
TRISD7
ANSD7
LATD7
R/W-1/1
Bit 7
RD7
ANSD6
TRISD6
ANSD6
LATD6
Bit 6
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
RD6
R/W-1/1
ANSD5
TRISB5
ANSD5
LATD5
Bit 5
RD5
R/W-1/1
ANSD4
Preliminary
TRISD4
ANSD4
LATD4
Bit 4
RD4
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
(1)
R/W-1/1
ANSD3
. Digital input buffer disabled.
TRISD3
ANSD3
LATD3
Bit 3
RD3
PIC16(L)F1516/7/8/9
TRISD2
ANSD2
LATD2
Bit 2
RD2
R/W-1/1
ANSD2
(1)
TRISD1
ANSD1
LATD1
Bit 1
RD1
R/W-1/1
ANSD1
TRISD0
ANSD0
LATD0
DS41452B-page 127
Bit 0
RD0
R/W-1/1
ANSD0
Register
on Page
121
120
120
120
bit 0

Related parts for PIC12F1516