PIC16(L)F1824/1828
REGISTER 12-15: PORTC: PORTC REGISTER
R/W-x/u
RC7(1)
bit 7
R/W-x/u
RC6(1)
R/W-x/u
RC5
R/W-x/u
RC4
R/W-x/u
RC3
R/W-x/u
RC2
R/W-x/u
RC1
R/W-x/u
RC0
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
RC<7:0>: PORTC General Purpose I/O Pin bits(1)
1 = Port pin is > VIH
0 = Port pin is < VIL
Note 1: RC<7:6> available on PIC16F/LF1828 only. Otherwise, they are unimplemented and read as ‘0’.
REGISTER 12-16: TRISC: PORTC TRI-STATE REGISTER
R/W-1/1
TRISC7(1)
bit 7
R/W-1/1
TRISC6(1)
R/W-1/1
TRISC5
R/W-1/1
TRISC4
R/W-1/1
TRISC3
R/W-1/1
TRISC2
R/W-1/1
TRISC1
R/W-1/1
TRISC0
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
TRISC<7:0>: PORTC Tri-State Control bits(1)
1 = PORTC pin configured as an input (tri-stated)
0 = PORTC pin configured as an output
Note 1: TRISC<7:6> available on PIC16F/LF1828 only. Otherwise, they are unimplemented and read as ‘0’.
REGISTER 12-17: LATC: PORTC DATA LATCH REGISTER
R/W-x/u
LATC7(1)
bit 7
R/W-x/u
LATC6(1)
R/W-x/u
LATC5
R/W-x/u
LATC4
R/W-x/u
LATC3
R/W-x/u
LATC2
R/W-x/u
LATC1
R/W-x/u
LATC0
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
LATC<7:0>: PORTC Output Latch Value bits(1, 2)
Note 1: Writes to PORTC are actually written to corresponding LATC register. Reads from PORTC register is
return of actual I/O pin values.
2: LATC<7:6> available on PIC16F/LF1828 only. Otherwise, they are unimplemented and read as ‘0’.
2010 Microchip Technology Inc.
Preliminary
DS41419B-page 137