Datasheet
2011-2013 Microchip Technology Inc. DS40001574C-page 15
PIC16(L)F1938/9
RB4/AN11/CPS4/P1D/COM0 RB4 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
AN11 AN — A/D Channel 11 input.
CPS4 AN — Capacitive sensing input 4.
P1D — CMOS PWM output.
COM0 — AN LCD Analog output.
RB5/AN13/CPS5/P2B/CCP3
(1)
/
P3A
(1)
/T1G
(1)
/COM1
RB5 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
AN13 AN — A/D Channel 13 input.
CPS5 AN — Capacitive sensing input 5.
P2B — CMOS PWM output.
CCP3 ST CMOS Capture/Compare/PWM3.
P3A — CMOS PWM output.
T1G ST — Timer1 Gate input.
COM1 — AN LCD Analog output.
RB6/ICSPCLK/ICDCLK/SEG14 RB6 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
ICSPCLK ST — Serial Programming Clock.
ICDCLK ST — In-Circuit Debug Clock.
SEG14 — AN LCD Analog output.
RB7/ICSPDAT/ICDDAT/SEG13 RB7 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
ICSPDAT ST CMOS ICSP™ Data I/O.
ICDDAT ST CMOS In-Circuit Data I/O.
SEG13 — AN LCD Analog output.
RC0/T1OSO/T1CKI/P2B
(1)
RC0 ST CMOS General purpose I/O.
T1OSO XTAL XTAL Timer1 oscillator connection.
T1CKI ST — Timer1 clock input.
P2B — CMOS PWM output.
RC1/T1OSI/CCP2
(1)
/P2A
(1)
RC1 ST CMOS General purpose I/O.
T1OSI XTAL XTAL Timer1 oscillator connection.
CCP2 ST CMOS Capture/Compare/PWM2.
P2A — CMOS PWM output.
RC2/CCP1/P1A/SEG3 RC2 ST CMOS General purpose I/O.
CCP1 ST CMOS Capture/Compare/PWM1.
P1A — CMOS PWM output.
SEG3 — AN LCD Analog output.
RC3/SCK/SCL/SEG6 RC3 ST CMOS General purpose I/O.
SCK ST CMOS SPI clock.
SCL I
2
CODI
2
C™ clock.
SEG6 — AN LCD Analog output.
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 I
2
C™ = Schmitt Trigger input with I
2
C 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.