Datasheet

PIC16F818/819
DS39598F-page 48 2001-2013 Microchip Technology Inc.
FIGURE 5-11: BLOCK DIAGRAM OF RB3 PIN
Data Latch
RBPU
(2)
P
V
DD
QD
CK
QD
CK
Q
D
EN
Data Bus
WR
WR
RD TRISB
RD PORTB
Weak
Pull-up
RD PORTB
I/O pin
(1)
TTL
Input
Buffer
TRIS Latch
PORTB
Note 1: I/O pins have diode protection to VDD and VSS.
2: To enable weak pull-ups, set the appropriate TRIS bit(s) and clear the RBPU
bit.
0
1
CCP
To PGM or CCP
CCP1<M3:M0> = 1000, 1001, 11xx and CCPMX = 0
CCP1<M3:M0> = 0100, 0101, 0110, 0111 and CCPMX = 0
or LVP = 1
TRISB