Datasheet

2002-2013 Microchip Technology Inc. DS30487D-page 65
PIC16F87/88
FIGURE 5-14: BLOCK DIAGRAM OF RB6/AN5
(3)
/PGC/T1OSO/T1CKI PIN
Data Latch
From other
RBPU
(2)
P
V
DD
I/O pin
(1)
QD
CK
QD
CK
QD
EN
QD
EN
Data Bus
WR PORTB
WR TRISB
Set RBIF
TRIS Latch
RD TRISB
RD PORTB
RB7:RB4 pins
Weak
Pull-up
RD PORTB
Latch
Q3
Q1
Note 1: I/O pins have diode protection to V
DD and VSS.
2: To enable weak pull-ups, set the appropriate TRIS bit(s) and clear the RBPU
bit.
3: PIC16F88 devices only.
PGC/T1CKI
Analog
TTL
Input Buffer
Input Mode
T1OSCEN/ICD/PROG
From T1OSCO Output
To A/D Module Channel Input (PIC16F88 only)
Analog
Input Mode
Mode