PIC16F688
REGISTER 4-5:
PORTC – PORTC REGISTER (ADDRESS: 07h OR 107h)
U-0
—
U-0
—
R/W-x
RC5
R/W-x
RC4
R/W-x
RC3
R/W-x
RC2
R/W-0
RC1
R/W-0
RC0
bit 7
bit 0
bit 7-6:
bit 5-0:
Unimplemented: Read as ‘0’
PORTC<5:0>: General Purpose I/O Pin bits
1= Port pin is >VIH
0= Port pin is <VIL
Legend:
R = Readable bit
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
- n = Value at POR
REGISTER 4-6:
TRISC – PORTC TRI-STATE REGISTER (ADDRESS: 87h OR 187h)
U-0
—
U-0
—
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
TRISC5
TRISC4
TRISC3
TRISC2
TRISC1
TRISC0
bit 7
bit 0
bit 7-6:
bit 5-0:
Unimplemented: Read as ‘0’
TRISC<5:0>: PORTC Tri-State Control bits
1= PORTC pin configured as an input (tri-stated)
0= PORTC pin configured as an output
Legend:
R = Readable bit
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
- n = Value at POR
TABLE 4-2:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
Value on
all other
Resets
Value on:
POR, BOD
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
07h
19h
87h
91h
PORTC
—
—
RC5
RC4
RC3
CIS
RC2
CM2
RC1
CM1
RC0
CM0
--xx xx00 --uu uu00
0000 0000 0000 0000
CMCON0 C2OUT C1OUT C2INV C1INV
TRISC
ANSEL
—
—
TRISC5 TRISC4 TRISC3 TRISC2 TRISC1 TRISC0 --11 1111 --11 1111
ANS5 ANS4 ANS3 ANS2 ANS1 ANS0 1111 1111 1111 1111
ANS7
ANS6
Legend: x= unknown, u= unchanged, - = unimplemented locations read as ‘0’. Shaded cells are not used by PORTC.
2004 Microchip Technology Inc.
Preliminary
DS41203B-page 43