English
Language : 

PIC16LF1526 Datasheet, PDF (138/354 Pages) Microchip Technology – 64-Pin Flash Microcontrollers with nanoWatt XLP Technology
PIC16(L)F1526/27
REGISTER 12-28: PORTG: PORTG REGISTER
U-0
—
bit 7
U-0
R-x/u
R/W-x/u
—
RG5
RG4
R/W-x/u
RG3
R/W-x/u
RG2
R/W-x/u
RG1
R/W-x/u
RG0
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-6
bit 5-0
Unimplemented: Read as ‘0’
RG<5:0>: PORTG I/O Pin bits(1)
1 = Port pin is > VIH
0 = Port pin is < VIL
Note 1: Writes to PORTG are actually written to corresponding LATG register. Reads from PORTG register is
return of actual I/O pin values.
REGISTER 12-29: TRISG: PORTG TRI-STATE REGISTER
U-0
—
bit 7
U-0
U-1(1)
R/W-1
R/W-1
—
—
TRISG4
TRISG3
R/W-1
TRISG2
R/W-1
TRISG1
R/W-1
TRISG0
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-6
bit 5
bit 4-0
Unimplemented: Read as ‘0’
Unimplemented: Read as ‘1’
TRISG<4:0>: RG<4:0> Tri-State Control bits(1)
1 = PORTG pin configured as an input (tri-stated)
0 = PORTG pin configured as an output
Note 1: Unimplemented, read as ‘1’.
DS41458A-page 138
Preliminary
 2011 Microchip Technology Inc.