Datasheet

2004 Microchip Technology Inc. DS30498C-page 59
PIC16F7X7
FIGURE 5-11: BLOCK DIAGRAM OF RB3/CCP2
(1)
/AN9 PIN
Data Latch
P
V
DD
Q
D
CK
QD
CK
Q
D
EN
Data Bus
WR PORTB
WR TRISB
RD TRISB
RD PORTB
Weak
Pull-up
RD PORTB
To A/D Channel Input
I/O pin
Schmitt Trigger
Buffer
(3)
TRIS Latch
Note 1: Pin location of CCP2 is determined by the CCPMX bit in Configuration Word Register 1.
2: To enable weak pull-ups, set the appropriate TRIS bit(s) and clear the RBPU
bit.
3: The SDA Schmitt Trigger conforms to the I
2
C™ specification.
1
0
CCP2 Output
P
N
VSS
VDD
Q
CCP2 Output Select and CCPMX
TTL
Input Buffer
Input Mode
Analog
Input Mode
Analog
Input Mode
Analog
To CCP Module Input
RBPU
(2)