Datasheet

2010-2012 Microchip Technology Inc. DS41419D-page 17
PIC16(L)F1824/1828
RA5/CLKIN/OSC1/T1OSI/
T1CKI/P2A
(1)
/CCP2
(1)
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.
P2A CMOS PWM output.
CCP2 ST CMOS Capture/Compare/PWM2.
RB4/AN10/CPS10/SDA1/SDI1 RB4 TTL CMOS General purpose I/O.
AN10 AN A/D Channel 10 input.
CPS10 AN Capacitive sensing input 10.
SDA1 I
2
CODI
2
C data input/output.
SDI1 CMOS SPI data input.
RB5/AN11/CPS11/RX
(1,2)
/DT
(1,2)
RB5 TTL CMOS General purpose I/O.
AN11 AN A/D Channel 11 input.
CPS11 AN Capacitive sensing input 11.
RX ST USART asynchronous input.
DT ST CMOS USART synchronous data.
RB6/SCL1/SCK1 RB6 TTL CMOS General purpose I/O.
SCL1 I
2
CODI
2
C™ clock 1.
SCK1 ST CMOS SPI clock 1.
RB7/TX
(1,2)
/CK
(1,2)
RB7 TTL CMOS General purpose I/O.
TX CMOS USART asynchronous transmit.
CK ST CMOS USART synchronous clock.
RC0/AN4/CPS4/C2IN+/P1D
(1)
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.
P1D CMOS PWM output.
RC1/AN5/CPS5/C12IN1-/P1C
(1)
RC1 TTL CMOS General purpose I/O.
AN5 AN A/D Channel 5 input.
CPS5 AN Capture/Compare/PWM4.
C12IN1- AN Comparator C1 or C2 negative input.
P1C CMOS PWM output.
RC2/AN6/CPS6/C12IN2-/
P1D
(1,2)
/P2B
(1,2)
/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.
P2B CMOS PWM output.
MDCIN1 ST Modulator Carrier Input 1.
TABLE 1-3: PIC16(L)F1828 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 moved using the APFCONO and APFCON1 registers (Register 12-1 and Register 12-2).
2: Default function location.