English
Language : 

PIC16F610 Datasheet, PDF (44/180 Pages) Microchip Technology – 14-Pin, Flash-Based 8-Bit CMOS Microcontrollers
PIC16F610/616/16HV610/616
4.3.5
RC4/C2OUT/P1B(1)
The RC4 is configurable to function as one of the
following:
• a general purpose I/O
• a digital output from Comparator C2
• a digital output from the Enhanced CCP(1)
Note 1: PIC16F616/16HV616 only.
2: Enabling both C2OUT and P1B will cause
a conflict on RC4 and create unpredictable
results. Therefore, if C2OUT is enabled,
the ECCP can not be used in Half-Bridge
or Full-Bridge mode and vice-versa.
FIGURE 4-8:
C2OE
CCP1M<3:0>
C2OE
C2OUT
CCP1M<3:0>
CCPOUT/P1B
Data Bus
DQ
WR
PORTC
CK Q
BLOCK DIAGRAM OF RC4
VDD
1
0
I/O Pin
VSS
WR
TRISC
DQ
CK Q
RD
TRISC
RD
PORTC
Note 1: Port/Peripheral Select signals selects between
PORT data and peripheral output.
4.3.6
RC5/CCP1(1)/P1A(1)
The RC5 is configurable to function as one of the
following:
• a general purpose I/O
• a digital input/output for the Enhanced CCP(1)
Note 1: PIC16F616/16HV616 only.
FIGURE 4-9:
Data bus
BLOCK DIAGRAM OF RC5
PIN
WR
PORTC
DQ
CK Q
WR
TRISC
DQ
CK Q
CCP1OUT(1)
Enable
CCP1OUT(1)/ 1
P1A
0
VDD
I/O Pin
VSS
RD
TRISC
RD
PORTC
To Enhanced CCP
Note 1: PIC16F616/16HV616 only.
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
Value on
all other
Resets
ANSEL
ANS7 ANS6 ANS5 ANS4 ANS3
ANS2
ANS1
ANS0 1111 1111 1111 1111
CCP1CON P1M1 P1M0 DC1B1 DC1B0 CCP1M3 CCP1M2 CCP1M1 CCP1M0 0000 0000 0000 0000
CM1CON0 C1ON C1OUT C1OE C1POL
—
C1R
C1CH1 C1CH0 0000 -000 0000 -000
CM2CON0 C2ON C2OUT C2OE C2POL
—
C2R
C2CH1 C2CH0 0000 -000 0000 -000
PORTC
—
—
RC5
RC4
RC3
RC2
RC1
RC0 --xx 00xx --uu 00uu
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 PORTC.
DS41288C-page 42
Preliminary
© 2007 Microchip Technology Inc.