Microchip Technology MCP1631RD-MCC2 Data Sheet

Page of 338
PIC16F882/883/884/886/887
DS41291G-page 60
 2006-2012 Microchip Technology Inc.
3.6.1
RD<4:0>
 shows the diagram for these pins. These
pins are configured to function as general purpose
I/O’s.
FIGURE 3-19:
BLOCK DIAGRAM OF 
RD<4:0>
3.6.2
 RD5/P1B
(1)
 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• a PWM output
3.6.3
RD6/P1C
(1)
 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• a PWM output
3.6.4
RD7/P1D
(1)
 shows the diagram for this pin. This pin
 
is
configurable to function as one of the following:
• a general purpose I/O
• a PWM output
FIGURE 3-20:
BLOCK DIAGRAM OF 
RD<7:5>
TABLE 3-4:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTD
Note:
RD<4:0> is available on PIC16F884/887
only.
Note 1: RD5/P1B is available on PIC16F884/887
only. See RB2/
AN8/P1B
 for this function
on PIC16F882/883/886.
V
DD
V
SS
D
Q
CK
Q
D
Q
CK
Q
Data Bus
WR
PORTD
WR
TRISD
RD
TRISD
RD
PORTD
I/O Pin
Note 1: RD6/P1C is available on PIC16F884/887
only. See RB1/AN10/P1C/C12IN3- for
this function on PIC16F882/883/886.
Note 1: RD7/P1D is available on PIC16F884/887
only. See RB4/AN11/P1D for this function
on PIC16F882/883/886.
V
DD
V
SS
D
Q
CK
Q
D
Q
CK
Q
Data Bus
WR
PORTD
WR
TRISD
RD
TRISD
RD
PORTD
CCP1
PSTRCON
0
1
1
0
I/O Pin
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Register 
on Page
PORTD
RD7
RD6
RD5
RD4
RD3
RD2
RD1
RD0
PSTRCON
STRSYNC
STRD
STRC
STRB
STRA
TRISD
TRISD7
TRISD6
TRISD5
TRISD4
TRISD3
TRISD2
TRISD1
TRISD0
Legend: x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by 
PORTD.