English
Language : 

PIC18F2480_09 Datasheet, PDF (136/490 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
PIC18F2480/2580/4480/4580
TABLE 11-1: PORTA I/O SUMMARY
Pin Name
Function I/O TRIS Buffer
Description
RA0/AN0/CVREF
RA0 OUT
0
DIG LATA<0> data output.
IN
1
TTL PORTA<0> data input.
AN0
IN
1
ANA A/D Input Channel 0. Enabled on POR; this analog input overrides the
digital input (read as clear – low level).
CVREF(1) OUT
x
ANA Comparator voltage reference analog output. Enabling this analog
output overrides the digital I/O (read as clear – low level).
RA1/AN1
RA1 OUT
0
DIG LATA<1> data output.
IN
1
TTL PORTA<1> data input.
AN1
IN
1
ANA A/D Input Channel 1. Enabled on POR; this analog input overrides the
digital input (read as clear – low level).
RA2/AN2/VREF-
RA2 OUT
0
DIG LATA<2> data output.
IN
1
TTL PORTA<2> data input.
AN2
IN
1
ANA A/D Input Channel 2. Enabled on POR; this analog input overrides the
digital input (read as clear – low level).
RA3/AN3/VREF+
VREF-
IN
1
ANA A/D and comparator negative voltage analog input.
RA3 OUT
0
DIG LATA<3> data output.
IN
1
TTL PORTA<3> data input.
AN3
IN
1
ANA A/D Input Channel 3. Enabled on POR; this analog input overrides the
digital input (read as clear – low level).
RA4/T0CKI
VREF+
IN
1
ANA A/D and comparator positive voltage analog input.
RA4 OUT
0
DIG LATA<4> data output.
IN
1
TTL PORTA<4> data input.
T0CKI
IN
1
ST Timer0 clock input.
RA5/AN4/SS/HLVDIN RA5 OUT
0
DIG LATA<5> data output.
IN
1
TTL PORTA<5> data input.
AN4
IN
1
ANA A/D Input Channel 4. Enabled on POR; this analog input overrides the
digital input (read as clear – low level).
OSC2/CLKO/RA6
SS
IN
1
HLVDIN IN
1
OSC2 OUT
x
TTL
ANA
ANA
Slave select input for MSSP.
High/Low-Voltage Detect external trip point input.
Output connection; selected by FOSC<3:0> Configuration bits.
Enabling OSC2 overrides digital I/O.
CLKO OUT
x
DIG Output connection; selected by FOSC<3:0> Configuration bits.
Enabling CLKO overrides digital I/O (FOSC/4).
OSC1/CLKI/RA7
RA6 OUT
0
DIG LATA<6> data output.
IN
1
TTL PORTA<6> data input.
OSC1
IN
x
ANA Main oscillator input connection determined by FOSC<3:0>
Configuration bits. Enabling OSC1 overrides digital I/O.
CLKI
IN
x
ANA Main clock input connection determined by FOSC<3:0>
Configuration bits. Enabling CLKI overrides digital I/O.
Legend:
Note 1:
RA7 OUT
0
DIG LATA<7> data output.
IN
1
TTL PORTA<7> data input.
OUT = Output, IN = Input, ANA = Analog Signal, DIG = Digital Output, ST = Schmitt Buffer Input, TTL = TTL Buffer Input
Available on 40/44-pin devices only.
DS39637D-page 136
© 2009 Microchip Technology Inc.