PIC16(L)F1938/9
DS41574B-page 16
Preliminary
2011-2012 Microchip Technology Inc.
RA6/OSC2/CLKOUT/VCAP(2)/
SEG1
RA6
TTL
CMOS General purpose I/O.
OSC2
—
XTAL
Crystal/Resonator (LP, XT, HS modes).
CLKOUT
—
CMOS FOSC/4 output.
VCAP
Power
Power Filter capacitor for Voltage Regulator (PIC16F1938/9 only).
SEG1
—
AN
LCD Analog output.
RA7/OSC1/CLKIN/SEG2
RA7
TTL
CMOS General purpose I/O.
OSC1
XTAL
—
Crystal/Resonator (LP, XT, HS modes).
CLKIN
CMOS
—
External clock input (EC mode).
SEG2
—
AN
LCD Analog output.
RB0/AN12/CPS0/CCP4/SRI/INT/
SEG0
RB0
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
AN12
AN
—
A/D Channel 12 input.
CPS0
AN
—
Capacitive sensing input 0.
CCP4
ST
CMOS Capture/Compare/PWM4.
SRI
—
ST
SR Latch input.
INT
ST
—
External interrupt.
SEG0
—
AN
LCD analog output.
RB1/AN10/C12IN3-/CPS1/P1C/
VLCD1
RB1
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
AN10
AN
—
A/D Channel 10 input.
C12IN3-
AN
—
Comparator C1 or C2 negative input.
CPS1
AN
—
Capacitive sensing input 1.
P1C
—
CMOS PWM output.
VLCD1
AN
—
LCD analog input.
RB2/AN8/CPS2/P1B/VLCD2
RB2
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
AN8
AN
—
A/D Channel 8 input.
CPS2
AN
—
Capacitive sensing input 2.
P1B
—
CMOS PWM output.
VLCD2
AN
—
LCD analog input.
RB3/AN9/C12IN2-/CPS3/
CCP2(1)/P2A(1)/VLCD3
RB3
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
AN9
AN
—
A/D Channel 9 input.
C12IN2-
AN
—
Comparator C1 or C2 negative input.
CPS3
AN
—
Capacitive sensing input 3.
CCP2
ST
CMOS Capture/Compare/PWM2.
P2A
—
CMOS PWM output.
VLCD3
AN
—
LCD analog input.
TABLE 1-2:
PIC16(L)F1938/9 PINOUT DESCRIPTION (CONTINUED)
Name
Function
Input
Type
Output
Type
Description
Legend: AN = Analog input or output CMOS= CMOS compatible input or output
OD
= Open Drain
TTL = TTL compatible input
ST
= Schmitt Trigger input with CMOS levels XTAL = Crystal
HV = High Voltage
I2C = Schmitt Trigger input with I2C levels
Note 1:
Pin function is selectable via the APFCON register.
2:
PIC16F1938/9 devices only.
3:
PIC16(L)F1938 devices only.
4:
PORTD is available on PIC16(L)F1939 devices only.
5:
RE<2:0> are available on PIC16(L)F1939 devices only.