English
Language : 

PIC18F47J53 Datasheet, PDF (147/586 Pages) Microchip Technology – 28/44-Pin, High-Performance USB Microcontrollers with nanoWatt XLP Technology
PIC18F47J53 FAMILY
TABLE 10-3: PORTA I/O SUMMARY (CONTINUED)
Pin
Function
TRIS
Setting
I/O
I/O
Type
Description
RA5/AN4/C1INC/ RA5
SS1/HLVDIN/
RCV/RP2
AN4
0
O DIG LATA<5> data output; not affected by analog input.
1
I
TTL PORTA<5> data input; disabled when analog input is enabled.
1
I ANA A/D Input Channel 4. Default configuration on POR.
C1INC
0
O DIG Comparator 1 Input C.
SS1
1
I
TTL Slave select input for MSSP1.
HLVDIN 1
I ANA High/Low-Voltage Detect external trip point reference input.
RCV
1
I
TTL External USB transceiver RCV input.
RP2
1
I
ST Remappable Peripheral Pin 2 input.
0
O DIG Remappable Peripheral Pin 2 output.
OSC2/CLKO/
RA6
OSC2
x
O ANA Main oscillator feedback output connection (HS mode).
CLKO
x
O DIG System cycle clock output (FOSC/4) in RC and EC Oscillator
modes.
RA6
1
I
TTL PORTA<6> data input.
0
O DIG LATA<6> data output.
OSC1/CLKI/RA7 OSC1
1
I ANA Main oscillator input connection.
CLKI
1
I ANA Main clock input connection.
RA7
1
I
TTL PORTA<6> data input.
0
O DIG LATA<6> data output.
Legend:
Note 1:
DIG = Digital level output; TTL = TTL input buffer; ST = Schmitt Trigger input buffer; ANA = Analog level
input/output; x = Don’t care (TRIS bit does not affect port direction or is overridden for this option)
This bit is only available on 44-pin devices (PIC18F46J53, PIC18F47J53, PIC18LF46J53 and
PIC18LF47J53).
TABLE 10-4: SUMMARY OF REGISTERS ASSOCIATED WITH PORTA
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PORTA
RA7
RA6
RA5
—
RA3
RA2
RA1
RA0
LATA
LAT7
LAT6
LAT5
—
LAT3
LAT2
LAT1
LAT0
TRISA
ANCON0
TRIS7
TRIS6 TRISA5
PCFG7(1) PCFG6(1) PCFG5(1)
—
PCFG4
TRISA3
PCFG3
TRISA2
PCFG2
TRISA1
PCFG1
TRISA0
PCFG0
CMxCON
CON
COE
CPOL EVPOL1 EVPOL0 CREF
CCH1
CCH0
CVRCON
CVREN CVROE CVRR CVRSS CVR3
CVR2
CVR1
CVR0
WDTCON
REGSLP LVDSTAT ULPLVL VBGOE
DS
ULPEN ULPSINK SWDTEN
HLVDCON VDIRMAG BGVST IRVST HLVDEN HLVDL3 HLVDL2 HLVDL1 HLVDL0
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by PORTA.
Note 1: These bits are only available in 44-pin devices (PIC18F46J53, PIC18F47J53, PIC18LF46J53 and
PIC18LF47J53).
 2010 Microchip Technology Inc.
Preliminary
DS39964B-page 147