DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC18F46K80T-I/SP 查看數據表(PDF) - Microchip Technology

零件编号
产品描述 (功能)
生产厂家
PIC18F46K80T-I/SP Datasheet PDF : 623 Pages
First Prev 171 172 173 174 175 176 177 178 179 180 Next Last
PIC18F66K80 FAMILY
TABLE 11-1: PORTA FUNCTIONS
Pin Name
Function
TRIS
Setting
I/O
I/O
Type
Description
RA0/CVREF/AN0/ RA0
0
ULPWU
1
CVREF
x
AN0
1
ULPWU 1
RA1/AN1/C1INC
RA1
0
1
AN1
1
C1INC(1) x
RA2/VREF-/AN2/
RA2
0
C2INC
1
VREF-
1
AN2
1
C2INC(1) x
RA3/VREF+/AN3
RA3
0
1
VREF+
1
AN3
1
RA5/AN4/C2INB/ RA5
0
HLVDIN/T1CKI/
1
SS/CTMUI
AN4
1
C2INB(2)
1
HLVDIN 1
T1CKI
x
O DIG LATA<0> data output; not affected by analog input.
I ST PORTA<0> data input; disabled when analog input is enabled.
O ANA Comparator voltage reference output. Enabling this feature disables digital I/O.
I ANA A/D Input Channel 0. Default input configuration on POR; does not affect
digital output.
O DIG Ultra Low-Power Wake-up input.
O DIG LATA<1> data output; not affected by analog input.
I ST PORTA<1> data input; disabled when analog input is enabled.
I ANA A/D Input Channel 1. Default input configuration on POR; does not affect
digital output.
I ANA Comparator 1 Input C.
O DIG LATA<2> data output; not affected by analog input.
I ST PORTA<2> data input; disabled when analog functions are enabled.
I ANA A/D and comparator low reference voltage input.
I ANA A/D Input Channel 2. Default input configuration on POR.
I ANA Comparator 2 Input C.
O DIG LATA<3> data output; not affected by analog input.
I ST PORTA<3> data input; disabled when analog input is enabled.
I ANA A/D Input Channel 3. Default input configuration on POR.
I ANA A/D and comparator high reference voltage input.
O DIG LATA<5> data output; not affected by analog input.
I ST PORTA<5> data input; disabled when analog input is enabled.
I ANA A/D Input Channel 4. Default configuration on POR.
I ANA Comparator 2 Input B.
I ANA High/Low-Voltage Detect external trip point input.
I ST Timer1 clock input.
SS
1
I ST Slave select input for MSSP module.
CTMUI(2) x
O — CTMU pulse generator charger for the C2INB comparator input.
RA6/OSC2/
CLKOUT
RA6
0
O DIG LATA<6> data output; disabled when FOSC2 Configuration bit is set.
1
I ST PORTA<6> data input; disabled when FOSC2 Configuration bit is set.
OSC2
x
O ANA Main oscillator feedback output connection (HS, XT and LP modes).
CLKOUT x
O DIG System cycle clock output (FOSC/4) (EC and INTOSC modes).
RA7/OSC1/CLKIN RA7
0
O DIG LATA<7> data output; disabled when FOSC2 Configuration bit is set.
1
I ST PORTA<7> data input; disabled when FOSC2 Configuration bit is set.
OSC1
x
I ANA Main oscillator input connection (HS, XT, and LP modes).
CLKIN
x
I ANA Main external clock source input (EC modes).
Legend: O = Output; I = Input; ANA = Analog Signal; DIG = CMOS Output; ST = Schmitt Trigger Buffer Input;
x = Don’t care (TRIS bit does not affect port direction or is overridden for this option)
Note 1: This pin assignment is unavailable for 28-pin devices (PIC18F2XK80).
2: This pin assignment is only available for 28-pin devices (PIC18F2XK80).
TABLE 11-2: 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(1)
RA6(1)
RA5
RA3
RA2
RA1
RA0
LATA
LATA7(1) LATA6(1)
LATA5
LATA3
LATA2
LATA1
LATA0
TRISA
TRISA7(1) TRISA6(1) TRISA5
TRISA3 TRISA2 TRISA1 TRISA0
ANCON0 ANSEL7 ANSEL6 ANSEL5 ANSEL4 ANSEL3 ANSEL2 ANSEL1 ANSEL0
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by PORTA.
Note 1: These bits are enabled depending on the oscillator mode selected. When not enabled as PORTA pins,
they are disabled and read as ‘x’.
DS39977F-page 176
2010-2012 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]