English
Language : 

PIC16LF18854 Datasheet, PDF (226/668 Pages) Microchip Technology – C Compiler Optimized RISC Architecture
PIC16(L)F18856/76
REGISTER 12-34: LATD: PORTD TRI-STATE REGISTER
R/W-x/u
LATD7
bit 7
R/W-x/u
LATD6
R/W-x/u
LATD5
R/W-x/u
LATD4
R-x/u
LATD3
R/W-x/u
LATD2
R/W-x/u
LATD1
R/W-x/u
LATD0
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-0
LATD<7:0>: LATD I/O Value bits(1)
1 = Port pin is > VIH
0 = Port pin is < VIL
Note 1: Writes to LATD are actually written to corresponding LATD register. Reads from PORTD register is return
of actual I/O pin values.
2: Bit RD3 is read-only, and will read ‘1’ when MCLRE = 1 (master clear enabled).
REGISTER 12-35: ANSELD: PORTD TRI-STATE REGISTER
R/W-x/u
ANSD7
bit 7
R/W-x/u
ANSD6
R/W-x/u
ANSD5
R/W-x/u
ANSD4
R-x/u
ANSD3
R/W-x/u
ANSD2
R/W-x/u
ANSD1
R/W-x/u
ANSD0
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-0
ANSD<7:0>: ANSD I/O Value bits(1)
1 = Port pin is > VIH
0 = Port pin is < VIL
Note 1: Writes to ANSD are actually written to corresponding ANSD register. Reads from ANSD register is return
of actual I/O pin values.
2: Bit RD3 is read-only, and will read ‘1’ when MCLRE = 1 (master clear enabled).
DS40001824A-page 226
Preliminary
 2016 Microchip Technology Inc.