English
Language : 

PIC18F87K22 Datasheet, PDF (180/548 Pages) Microchip Technology – 64/80-Pin, High-Performance, 1-Mbit Enhanced Flash Microcontrollers with 12-Bit A/D and nanoWatt XLP Technology
PIC18F87K22 FAMILY
TABLE 12-11: PORTF FUNCTIONS (CONTINUED)
Pin Name
Function
TRIS
Setting
I/O
I/O
Type
Description
RF6/AN11/C1INA
RF6
0
O
DIG LATF<6> data output; not affected by analog input.
1
I
ST PORTF<6> data input; disabled when analog input is enabled.
AN11
1
I
ANA A/D Input Channel 11 and Comparator C1- input. Default input
configuration on POR; does not affect digital output.
C1INA
1
I
ANA Comparator 1 Input A.
RF7/AN5/SS1
RF7
0
O
DIG LATF<7> data output; not affected by analog input.
1
I
ST PORTF<7> data input; disabled when analog input is enabled.
AN5
1
I
ANA A/D Input Channel 5. Default configuration on POR.
SS1
1
I
TTL Slave select input for MSSP module.
Legend: O = Output, I = Input, ANA = Analog Signal, DIG = Digital Output, ST = Schmitt Trigger Buffer Input,
TTL = TTL Buffer Input, x = Don’t care (TRIS bit does not affect port direction or is overridden for this option).
TABLE 12-12: SUMMARY OF REGISTERS ASSOCIATED WITH PORTF
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
PORTF
RF7
RF6
RF5
RF4
RF3
RF2
LATF
LATF7
LATF6
LATF5
LATF4
LATF3
LATF2
TRISF
TRISF7 TRISF6 TRISF5 TRISF4 TRISF3 TRISF2
ANCON0
ANSEL7 ANSEL6 ANSEL5 ANSEL4 ANSEL3 ANSEL2
ANCON1
ANSEL15 ANSEL14 ANSEL13 ANSEL12 ANSEL11 ANSEL10
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by PORTF.
Bit 1
RF1
LATF1
TRISF1
ANSEL1
ANSEL9
Bit 0
—
—
—
ANSEL0
ANSEL8
DS39960B-page 180
Preliminary
 2010 Microchip Technology Inc.