English
Language : 

PIC16F882-I Datasheet, PDF (58/328 Pages) Microchip Technology – 28/40/44-Pin, Enhanced Flash-Based 8-Bit CMOS Microcontrollers
PIC16F882/883/884/886/887
3.5.7 RC6/TX/CK
Figure 3-17 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• an asynchronous serial output
• a synchronous clock I/O
FIGURE 3-17:
BLOCK DIAGRAM OF RC6
SPEN
TXEN
Data Bus
WR
PORTC
D
CK
SYNC
EUSART
CK 01
EUSART
TX 10
Q
01
Q
10
WR
TRISC
DQ
CK Q
VDD
I/O Pin
VSS
RD
TRISC
RD
PORTC
3.5.8 RC7/RX/DT
Figure 3-18 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• an asynchronous serial input
• a synchronous serial data I/O
FIGURE 3-18:
Data Bus
BLOCK DIAGRAM OF RC7
SPEN
SYNC
DQ
WR
PORTC
CK Q
WR
TRISC
DQ
CK Q
EUSART
DT 01
10
RD
TRISC
RD
PORTC
EUSART RX/DT
VDD
I/O Pin
VSS
TABLE 3-3: 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
CCP1CON
P1M1
P1M0
DC1B1
DC1B0 CCP1M3 CCP1M2 CCP1M1 CCP1M0 0000 0000
CCP2CON
—
—
DC2B1
DC2B0 CCP2M3 CCP2M2 CCP2M1 CCP2M0 --00 0000
PORTC
RC7
RC6
RC5
RC4
RC3
RC2
RC1
RC0
xxxx xxxx
PSTRCON
—
—
—
STRSYNC STRD
STRC
STRB
STRA ---0 0001
RCSTA
SPEN
RX9
SREN
CREN
ADDEN FERR
OERR
RX9D
0000 000x
SSPCON
WCOL SSPOV SSPEN
CKP
SSPM3 SSPM2 SSPM1 SSPM0 0000 0000
T1CON
T1GINV TMR1GE T1CKPS1 T1CKPS0 T1OSCEN T1SYNC TMR1CS TMR1ON 0000 0000
TRISC
TRISC7 TRISC6 TRISC5 TRISC4 TRISC3 TRISC2 TRISC1 TRISC0 1111 1111
Legend: x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by PORTC.
Value on
all other
Resets
0000 0000
--00 0000
uuuu uuuu
---0 0001
0000 000x
0000 0000
0000 0000
1111 1111
DS41291F-page 56
© 2009 Microchip Technology Inc.