|
PIC16F676-I Datasheet, PDF (29/132 Pages) Microchip Technology – 14-Pin, Flash-Based 8-Bit CMOS Microcontrollers | |||
|
◁ |
PIC16F630/676
REGISTER 3-5:
PORTC â PORTC REGISTER (ADDRESS: 07h)
U-0
â
bit 7
U-0
R/W-x R/W-x R/W-x
â
RC5
RC4
RC3
R/W-x
RC2
R/W-x
RC1
R/W-x
RC0
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
REGISTER 3-6:
Legend:
R = Readable bit
- n = Value at POR
W = Writable bit
â1â = Bit is set
U = Unimplemented bit, read as â0â
â0â = Bit is cleared x = Bit is unknown
TRISC â PORTC TRI-STATE REGISTER (ADDRESS: 87h)
U-0
â
bit 7
U-0
R/W-1 R/W-1 R/W-1 R/W-1
â
TRISC5 TRISC4 TRISC3 TRISC2
R/W-1
TRISC1
R/W-1
TRISC0
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
- n = Value at POR
W = Writable bit
â1â = Bit is set
U = Unimplemented bit, read as â0â
â0â = Bit is cleared x = Bit is unknown
TABLE 3-2: SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
Address Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR, BOD
Value on all
other
Resets
07h
PORTC
â
â
RC5
RC4
RC3
RC2
RC1
RC0 --xx xxxx --uu uuuu
87h
TRISC
â
â
TRISC5 TRISC4 TRISC3 TRISC2 TRISC1 TRISC0 --11 1111 --11 1111
91h
ANSEL(1)
ANS7 ANS6 ANS5 ANS4 ANS3 ANS2 ANS1 ANS0 1111 1111 1111 1111
Note 1: PIC16F676 only.
Legend: x = unknown, u = unchanged, - = unimplemented locations read as â0â. Shaded cells are not used by PORTC.
ï£ 2010 Microchip Technology Inc.
DS40039F-page 29
|
▷ |