
2010-2012 Microchip Technology Inc.
DS41413C-page 15
PIC12(L)F1822/PIC16(L)F1823
TABLE 1-3:
PIC16(L)F1823 PINOUT DESCRIPTION
Name
Function
Input
Type
Output
Type
Description
RA0/AN0/CPS0/C1IN+/
DACOUT/TX(1)/CK(1)/ICSPDAT/
ICDDAT
RA0
TTL
CMOS General purpose I/O.
AN0
AN
—
A/D Channel 0 input.
CPS0
AN
—
Capacitive sensing input 0.
C1IN+
AN
—
Comparator C1 positive input.
DACOUT
—
AN
Digital-to-Analog Converter output.
TX
—
CMOS USART asynchronous transmit.
CK
ST
CMOS USART synchronous clock.
ICSPDAT
ST
CMOS ICSP Data I/O.
RA1/AN1/CPS1/C12IN0-/VREF+/
SRI/RX(1)/DT(1)/ICSPCLK/
ICDCLK
RA1
TTL
CMOS General purpose I/O.
AN1
AN
—
A/D Channel 1 input.
CPS1
AN
—
Capacitive sensing input 1.
C12IN0-
AN
—
Comparator C1 or C2 negative input.
VREF+
AN
—
A/D and DAC Positive Voltage Reference input.
SRI
ST
—
SR latch input.
RX
ST
—
USART asynchronous input.
DT
ST
CMOS USART synchronous data.
ICSPCLK
ST
—
Serial Programming Clock.
RA2/AN2/CPS2/T0CKI/INT/
C1OUT/SRQ/FLT0
RA2
TTL
CMOS General purpose I/O.
AN2
AN
—
A/D Channel 2 input.
CPS2
AN
—
Capacitive sensing input 2.
T0CKI
ST
—
Timer0 clock input.
INT
ST
—
External interrupt.
C1OUT
—
CMOS Comparator C1 output.
SRQ
—
CMOS SR latch non-inverting output.
FLT0
ST
—
ECCP Auto-Shutdown Fault input.
RA3/SS(1)/T1G(1)/VPP/MCLR
RA3
TTL
—
General purpose input.
SS
ST
—
Slave Select input.
T1G
ST
—
Timer1 Gate input.
VPP
HV
—
Programming voltage.
MCLR
ST
—
Master Clear with internal pull-up.
RA4/AN3/CPS3/OSC2/
CLKOUT/T1OSO/CLKR/SDO(1)/
T1G(1)
RA4
TTL
CMOS General purpose I/O.
AN3
AN
—
A/D Channel 3 input.
CPS3
AN
—
Capacitive sensing input 3.
OSC2
XTAL
Crystal/Resonator (LP, XT, HS modes).
CLKOUT
—
CMOS FOSC/4 output.
T1OSO
XTAL
Timer1 oscillator connection.
CLKR
—
CMOS Clock Reference output.
SDO
—
CMOS SPI data output.
T1G
ST
—
Timer1 Gate 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 functions can be assigned to one of two pin locations via software. See APFCON register
(Register 12-1).