PIC12F609/615/617/12HV609/615
5.2.4
PIN DESCRIPTIONS AND
DIAGRAMS
Each GPIO pin is multiplexed with other functions. The
pins and their combined functions are briefly described
here. For specific information about individual functions
such as the Comparator or the ADC, refer to the
appropriate section in this data sheet.
5.2.4.1 GP0/AN0(1)/CIN+/P1B(1)/ICSPDAT
Figure 5-1 shows the diagram for this pin. The GP0 pin
is configurable to function as one of the following:
• a general purpose I/O
• an analog input for the ADC(1)
• an analog non-inverting input to the comparator
• a PWM output(1)
• In-Circuit Serial Programming data
5.2.4.2
GP1/AN1(1)/CIN0-/VREF(1)/ICSPCLK
Figure 5-1 shows the diagram for this pin. The GP1 pin
is configurable to function as one of the following:
• a general purpose I/O
• an analog input for the ADC(1)
• an analog inverting input to the comparator
• a voltage reference input for the ADC(1)
• In-Circuit Serial Programming clock
Note 1: PIC12F615/617/HV615 only.
FIGURE 5-1:
BLOCK DIAGRAM OF GP<1:0>
Data Bus
WR
WPU
RD
WPU
WR
GPIO
DQ
CK Q
DQ
CK Q
Analog(1)
Input Mode
VDD
Weak
GPPU
VDD
I/O Pin
VSS
WR
TRISIO
DQ
CK Q
RD
TRISIO
RD
GPIO
WR
IOC
DQ
CK Q
RD
IOC
Analog(1)
Input Mode
QD
EN
Q1
QD
Interrupt-on-
Change
Q S(2)
R
Write ‘0’ to GBIF
From other
GP<5:0> pins (GP0)
GP<5:2, 0> pins (GP1)
EN
RD GPIO
To Comparator
To A/D Converter(3)
Note 1:
2:
3:
Comparator mode and ANSEL determines Analog Input mode.
Set has priority over Reset.
PIC12F615/617/HV615 only.
2010 Microchip Technology Inc.
DS41302D-page 47