Datasheet

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