PIC16F639 Microchip Technology Inc., PIC16F639 Datasheet - Page 61

no-image

PIC16F639

Manufacturer Part Number
PIC16F639
Description
8/14-pin Flash-based, 8-bit Cmos Microcontrollers With Nanowatt Technology
Manufacturer
Microchip Technology Inc.
Datasheet
4.3.6
Figure 4-9 shows the diagram for this pin. The RC4 pin
is configurable to function as one of the following:
• a general purpose I/O
• a digital output from the comparator
FIGURE 4-9:
TABLE 4-2:
© 2007 Microchip Technology Inc.
PORTC
CMCON0
TRISC
Legend:
PORTC
PORTC
TRISC
TRISC
Data Bus
WR
WR
RD
RD
Name
C2OUT Enable
D
D
CK
CK
x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by PORTA.
RC4/C2OUT
C2OUT
C2OUT
Bit 7
Q
Q
Q
Q
SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
BLOCK DIAGRAM OF RC4
C1OUT
Bit 6
1
0
TRISC5
C2INV
Bit 5
RC5
TRISC4
V
V
C1INV
DD
Bit 4
RC4
SS
I/O pin
PIC12F635/PIC16F636/639
TRISC3
Bit 3
RC3
CIS
TRISC2
Bit 2
CM2
RC2
TRISC1
Bit 1
CM1
RC1
TRISC0
Bit 0
CM0
RC0
--xx xx00
0000 0000
--11 1111
POR, BOR,
Value on
WUR
DS41232D-page 59
--uu uu00
0000 0000
--11 1111
Value on
all other
Resets

Related parts for PIC16F639