Datasheet
PIC16F818/819
DS39598F-page 52 2001-2013 Microchip Technology Inc.
FIGURE 5-15: BLOCK DIAGRAM OF RB7 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
T1OSCEN
Set RBIF
TRIS Latch
RD TRISB
RD PORTB
RB7:RB4 pins
Weak
Pull-up
RD PORTB
Latch
Q3
Q1
PORTB
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.
PGD
PGD
1
0
Port/Program Mode/ICD
Analog
TTL
Input Buffer
Input Mode
To T1OSI Input
1
0
PGD DRVEN
T1OSCEN
WR
TRISB