English
Language : 

PIC18F1220_07 Datasheet, PDF (95/308 Pages) Microchip Technology – 18/20/28-Pin High-Performance, Enhanced Flash Microcontrollers with 10-bit A/D and nanoWatt Technology
PIC18F1220/1320
FIGURE 10-10: BLOCK DIAGRAM OF RB3/CCP1/P1A PIN
ECCP1(3) pin Output Enable
ECCP1(4) pin Input Enable
RBPU(2)
P1A/C Tri-State Auto-Shutdown
ECCP1/P1A Data Out
Data Bus
WR LATB or
PORTB
WR TRISB
RD LATB
D
Q
CK Q
Data Latch
D
Q
CK Q
TRIS Latch
RD TRISB
RD PORTB
ECCP1 Input
VDD
P
Weak
Pull-up
1
VDD
P
0
N
VSS
TTL Input
Buffer
RB3 pin
Q
D
EN
Schmitt
Trigger
Note 1:
2:
3:
4:
I/O pins have diode protection to VDD and VSS.
To enable weak pull-ups, set the appropriate TRIS bit(s) and clear the RBPU bit (INTCON2<7>).
ECCP1 pin output enable active for any PWM mode and Compare mode, where CCP1M<3:0> = 1000 or 1001.
ECCP1 pin input enable active for Capture mode only.
© 2007 Microchip Technology Inc.
DS39605F-page 93