Datasheet

Table Of Contents
© 2007 Microchip Technology Inc. DS39605F-page 97
PIC18F1220/1320
FIGURE 10-14: BLOCK DIAGRAM OF RB7/PGD/T1OSI/P1D/KBI3 PIN
Data Bus
WR LATB or
WR TRISB
Data Latch
TRIS Latch
RD TRISB
QD
Q
CK
QD
EN
P1D Data
1
0
QD
Q
CK
RD PORTB
RB7 pin
PORTB
RD LATB
Schmitt
Trigger
To RB6 pin
RBPU
(2)
P
Weak
Pull-up
Q1
From other
QD
EN
Set RBIF
RB7:RB4 pins
RD PORTB
Q3
PGD
ECCP1 P1C/D Enable
TTL
Input
Buffer
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 (INTCON2<7>).
P1B/D Tri-State Auto-Shutdown
T1OSCEN
VDD