PIC16F818/819
FIGURE 5-11:
BLOCK DIAGRAM OF RB3 PIN
CCP1<M3:M0> = 1000, 1001, 11xxand CCPMX = 0
CCP1<M3:M0> = 0100, 0101, 0110, 0111and CCPMX = 0
CCP
0
1
or LVP = 1
VDD
RBPU(2)
Data Bus
Weak
P
Pull-up
Data Latch
D
Q
WR
I/O pin(1)
PORTB
CK
TRIS Latch
D
Q
WR
TTL
Input
Buffer
TRISB
CK
RD TRISB
D
Q
RD PORTB
EN
To PGM or CCP
RD 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.
DS39598E-page 48
2004 Microchip Technology Inc.