PIC12F639 Microchip Technology, PIC12F639 Datasheet - Page 53

no-image

PIC12F639

Manufacturer Part Number
PIC12F639
Description
(PIC12F635 / PIC12F636 / PIC12F639) 8/14-PIN FLASH-BASED / 8-BIT CMOS MICROCONTROLLERS WITH NANOWATT TECHNOLOGY
Manufacturer
Microchip Technology
Datasheet
REGISTER 4-6:
REGISTER 4-7:
TABLE 4-2:
© 2005 Microchip Technology Inc.
07h
19h
87h
Legend:
Address
PORTC
CMCON0
TRISC
bit 7-6:
bit 5-0:
bit 7-6:
bit 5-0:
x = unknown, u = unchanged, — = unimplemented locations read as ‘0’. Shaded cells are not used by PORTC.
Name
SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
C2OUT
PORTC – PORTC REGISTER (ADDRESS: 07h)
TRISC – PORTC TRI-STATE REGISTER (ADDRESS: 87h)
Bit 7
bit 7
Unimplemented: Read as ‘0’
RC<5:0>: PORTC General Purpose I/O Pin bits
1 = Port pin is > V
0 = Port pin is < V
Legend:
R = Readable bit
- n = Value at POR
bit 7
Unimplemented: Read as ‘0’
TRISC<5:0>: PORTC Tri-State Control bit
1 = PORTC pin configured as an input (tri-stated)
0 = PORTC pin configured as an output
Legend:
R = Readable bit
- n = Value at POR
U-0
U-0
C1OUT
Bit 6
U-0
U-0
TRISC5 TRISC4 TRISC3 TRISC2 TRISC1 TRISC0 --11 1111 --11 1111
C2INV
Bit 5
RC5
IH
IL
TRISC5
C1INV
R/W-x
R/W-1
PIC12F635/PIC16F636/639
Bit 4
RC4
RC5
Preliminary
W = Writable bit
‘1’ = Bit is set
W = Writable bit
‘1’ = Bit is set
Bit 3
RC3
CIS
TRISC4
R/W-x
R/W-1
RC4
Bit 2
CM2
RC2
TRISC3
R/W-x
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-1
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
RC3
Bit 1
CM1
RC1
TRISC2
R/W-x
R/W-1
Bit 0
RC0
CM0
RC2
--xx xx00 --uu uu00
0000 0000 0000 0000
POR, BOD,
Value on:
x = Bit is unknown
x = Bit is unknown
TRISC1
WUR
R/W-0
R/W-1
RC1
DS41232B-page 51
Value on
all other
TRISC0
Resets
R/W-0
R/W-1
RC0
bit 0
bit 0

Related parts for PIC12F639