PIC18FXX20
FIGURE 10-2:
BLOCK DIAGRAM OF
FIGURE 10-3:
BLOCK DIAGRAM OF
RA4/T0CKI PIN
RA3:RA0AND RA5PINS
RD LATA
RD LATA
Data
Bus
Data
Bus
D
Q
D
Q
Q
WR LATA
or
WR LATA
VDD
or
PORTA
PORTA
I/O pin(1)
Q
CK
Data Latch
CK
P
N
Data Latch
I/O pin(1)
D
Q
N
D
Q
VSS
WR TRISA
RD TRISA
Schmitt
Trigger
Input
WR TRISA
RD TRISA
CK
Q
VSS
Q
CK
Analog
TRIS Latch
TRIS Latch
Input
Buffer
Mode
TTL
Input
Buffer
Q
D
Q
D
EN
EN
EN
RD PORTA
RD PORTA
TMR0 Clock Input
To A/D Converter and LVD Modules
Note 1: I/O pins have protection diodes to VDD and VSS.
Note 1: I/O pins have protection diodes to VDD and VSS.
FIGURE 10-4:
BLOCK DIAGRAM OF RA6 PIN (WHEN ENABLED AS I/O)
ECRA6 or RCRA6 Enable
Data Bus
RD LATA
D
Q
Q
VDD
P
WR LATA or PORTA
CK
Data Latch
I/O pin(1)
N
D
Q
WR
TRISA
VSS
CK
Q
TRIS Latch
TTL
RD TRISA
Input
Buffer
ECRA6 or RCRA6 Enable
Q
D
EN
RD PORTA
Note 1: I/O pins have protection diodes to VDD and VSS.
DS39609A-page 104
Advance Information
2003 Microchip Technology Inc.