Datasheet

Table Of Contents
© 2007 Microchip Technology Inc. DS39605F-page 93
PIC18F1220/1320
FIGURE 10-10: BLOCK DIAGRAM OF RB3/CCP1/P1A PIN
Data Bus
WR LATB or
WR TRISB
Data Latch
TRIS Latch
RD TRISB
QD
Q
CK
QD
EN
ECCP1/P1A Data Out
1
0
QD
Q
CK
P
N
V
DD
VSS
RD PORTB
ECCP1 Input
RB3 pin
PORTB
RD LATB
Schmitt
Trigger
VDD
Weak
Pull-up
P
RBPU
(2)
TTL Input
Buffer
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>).
3: ECCP1 pin output enable active for any PWM mode and Compare mode, where CCP1M<3:0> = 1000 or 1001.
4: ECCP1 pin input enable active for Capture mode only.
ECCP1
(3)
pin Output Enable
P1A/C Tri-State Auto-Shutdown
ECCP1
(4)
pin Input Enable