English
Language : 

PIC16F636T-I Datasheet, PDF (61/234 Pages) Microchip Technology – 8/14-Pin, Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC12F635/PIC16F636/639
4.3.6 RC4/C2OUT
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:
BLOCK DIAGRAM OF RC4
C2OUT Enable
C2OUT
Data Bus
DQ
WR
PORTC
CK Q
WR
TRISC
DQ
CK Q
RD
TRISC
RD
PORTC
VDD
1
0
I/O pin
VSS
TABLE 4-2: SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR, BOR,
WUR
Value on
all other
Resets
PORTC
—
—
RC5
RC4
RC3
RC2
RC1
RC0 --xx xx00 --uu uu00
CMCON0 C2OUT C1OUT C2INV C1INV CIS
CM2
CM1
CM0 0000 0000 0000 0000
TRISC
—
— TRISC5 TRISC4 TRISC3 TRISC2 TRISC1 TRISC0 --11 1111 --11 1111
Legend: x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by PORTA.
© 2007 Microchip Technology Inc.
DS41232D-page 59