English
Language : 

PIC16F1938 Datasheet, PDF (18/452 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers
PIC16(L)F1938/9
TABLE 1-2: PIC16(L)F1938/9 PINOUT DESCRIPTION (CONTINUED)
Name
Function
Input Output
Type Type
Description
RA6/OSC2/CLKOUT/VCAP(2)/
SEG1
RA6
OSC2
TTL CMOS General purpose I/O.
— 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/ RB0
SEG0
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.
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 I2C™ = Schmitt Trigger input with I2C
HV = High Voltage
XTAL = Crystal
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.
DS41574A-page 18
Preliminary
 2011 Microchip Technology Inc.