Datasheet
PIC18F46J11 FAMILY
DS39932D-page 136 2011 Microchip Technology Inc.
TABLE 10-3: PORTA I/O SUMMARY
Pin Function
TRIS
Setting
I/O
I/O
Type
Description
RA0/AN0/C1INA/
ULPWU/PMA6/
RP0
RA0 1 I TTL PORTA<0> data input; disabled when analog input enabled.
0 O DIG LATA<0> data output; not affected by analog input.
AN0 1 I ANA A/D input channel 0 and Comparator C1- input. Default input
configuration on POR; does not affect digital output.
C1INA 1 I ANA Comparator 1 input A.
ULPWU 1 I ANA Ultra low-power wake-up input.
PMA6
(1)
0 O DIG Parallel Master Port address.
RP0 1 I ST Remappable peripheral pin 0 input.
0 O DIG Remappable peripheral pin 0 output.
RA1/AN1/C2INA/
PMA7/RP1
RA1 1 I TTL PORTA<1> data input; disabled when analog input enabled.
0 O DIG LATA<1> data output; not affected by analog input.
AN1 1 I ANA A/D input channel 1 and Comparator C2- input. Default input
configuration on POR; does not affect digital output.
C2INA 1 I ANA Comparator 1 input A.
PMA7
(1)
0 O DIG Parallel Master Port address.
RP1 1 I ST Remappable peripheral pin 1 input.
0 O DIG Remappable peripheral pin 1 output.
RA2/AN2/
V
REF-/CVREF/
C2INB
RA2 0 O DIG LATA<2> data output; not affected by analog input. Disabled
when CV
REF output enabled.
1 I TTL PORTA<2> data input. Disabled when analog functions
enabled; disabled when CV
REF output enabled.
AN2 1 I ANA A/D input channel 2 and Comparator C2+ input. Default input
configuration on POR; not affected by analog output.
V
REF- 1 I ANA A/D and comparator voltage reference low input.
CVREF x O ANA Comparator voltage reference output. Enabling this feature
disables digital I/O.
C2INB I I ANA Comparator 2 input B.
0 O ANA CTMU pulse generator charger for the C2INB comparator
input.
RA3/AN3/V
REF+/
C1INB
RA3 0 O DIG LATA<3> data output; not affected by analog input.
1 I TTL PORTA<3> data input; disabled when analog input enabled.
AN3 1 I ANA A/D input channel 3 and Comparator C1+ input. Default input
configuration on POR.
V
REF+ 1 I ANA A/D and comparator voltage reference high input.
C1INB 1 I ANA Comparator 1 input B.
Legend: 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)
Note 1: This bit is only available on 44-pin devices.