Datasheet
PIC12(L)F1822/PIC16(L)F1823
DS41413C-page 16 2010-2012 Microchip Technology Inc.
RA5/CLKIN/OSC1/T1OSI/T1CKI RA5 TTL CMOS General purpose I/O.
CLKIN CMOS — External clock input (EC mode).
OSC1 XTAL — Crystal/Resonator (LP, XT, HS modes).
T1OSI XTAL XTAL Timer1 oscillator connection.
T1CKI ST — Timer1 clock input.
RC0/AN4/CPS4/C2IN+/SCL/
SCK
RC0 TTL CMOS General purpose I/O.
AN4 AN — A/D Channel 4 input.
CPS4 AN — Capacitive sensing input 4.
C2IN+ AN — Comparator C2 positive input.
SCL I
2
C™ OD I
2
C™ clock.
SCK ST CMOS SPI clock.
RC1/AN5/CPS5/C12IN1-/SDA/
SDI
RC1 TTL CMOS General purpose I/O.
AN5 AN — A/D Channel 5 input.
CPS5 AN — Capacitive sensing input 5.
C12IN1- AN — Comparator C1 or C2 negative input.
SDA I
2
C™ OD I
2
C™ data input/output.
SDI CMOS — SPI data input.
RC2/AN6/CPS6/C12IN2-/P1D/
SDO
(1)
/MDCIN1
RC2 TTL CMOS General purpose I/O.
AN6 AN — A/D Channel 6 input.
CPS6 AN — Capacitive sensing input 6.
C12IN2- AN — Comparator C1 or C2 negative input.
P1D — CMOS PWM output.
SDO — CMOS SPI data output.
MDCIN1 ST — Modulator Carrier Input 1.
RC3/AN7/CPS7/C12IN3-/P1C/
SS
(1)
/MDMIN
RC6 TTL CMOS General purpose I/O.
AN7 AN — A/D Channel 6 input.
CPS7 AN — Capacitive sensing input 6.
C12IN3- AN — Comparator C1 or C2 negative input.
P1C — CMOS PWM output.
SS
ST — Slave Select input.
MDMIN ST — Modulator source input.
RC4/C2OUT/SRNQ/P1B/CK
(1)
/
TX
(1)
/MDOUT
RC4 TTL CMOS General purpose I/O.
C2OUT — CMOS Comparator C2 output.
SRNQ — CMOS SR latch inverting output.
P1B — CMOS PWM output.
CK ST CMOS USART synchronous clock.
TX — CMOS USART asynchronous transmit.
MDOUT — CMOS Modulator output.
RC5/P1A/CCP1/DT
(1)
/RX
(1)
/
MDCIN2
RC5 TTL CMOS General purpose I/O.
P1A — CMOS PWM output.
CCP1 ST CMOS Capture/Compare/PWM 1.
DT ST CMOS USART synchronous data.
RX ST — USART asynchronous input.
MDCIN2 ST — Modulator Carrier Input 2.
TABLE 1-3: PIC16(L)F1823 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 I
2
C™ = Schmitt Trigger input with I
2
C
HV = High Voltage XTAL = Crystal levels
Note 1: Pin functions can be assigned to one of two pin locations via software. See APFCON register (Register 12-1).