PIC16F688 Microchip Technology Inc., PIC16F688 Datasheet - Page 40

no-image

PIC16F688

Manufacturer Part Number
PIC16F688
Description
Manufacturer
Microchip Technology Inc.
Datasheet
string(70) "Class: /home/ecomp/master.elcodis.git/htdocs/inc/../Doc.php not found!" string(70) "Class: /home/ecomp/master.elcodis.git/htdocs/inc/../Doc.php not found!" string(70) "Class: /home/ecomp/master.elcodis.git/htdocs/inc/../Doc.php not found!"
PIC16F688
4.2.5.2
Figure 4-2 shows the diagram for this pin. The RA1 pin
is configurable to function as one of the following:
• a general purpose I/O
• an analog input for the A/D
• an analog input to the comparator
• a voltage reference input for the A/D
• In-Circuit Serial Programming™ clock
FIGURE 4-2:
DS41203C-page 38
Data Bus
PORTA
PORTA
WPUA
WPUA
TRISA
TRISA
IOCA
IOCA
Interrupt-on-
WR
WR
WR
WR
RD
RD
RD
RD
Note 1:
change
D
D
D
D
To Comparator
To A/D Converter
CK
CK
CK
CK
Comparator mode and ANSEL determines analog
Input mode.
RA1/AN1/C1IN-/V
Q
Q
Q
Q
Q
Q
Q
Q
Input Mode
BLOCK DIAGRAM OF RA1
Analog
RD PORTA
Input Mode
(1)
RAPU
Analog
Q
Q
REF
(1)
EN
EN
D
D
/ICSPCLK
V
DD
Weak
V
V
DD
Q3
SS
I/O pin
4.2.5.3
Figure 4-3 shows the diagram for this pin. The RA2 pin
is configurable to function as one of the following:
• a general purpose I/O
• an analog input for the A/D
• the clock input for Timer0
• an external edge triggered interrupt
• a digital output from the comparator
FIGURE 4-3:
Data Bus
PORTA
PORTA
WPUA
WPUA
TRISA
TRISA
IOCA
IOCA
Interrupt-on-
WR
WR
WR
WR
Note 1:
RD
RD
RD
RD
change
D
D
D
D
To Timer0
To INT
To A/D Converter
CK
CK
CK
CK
Analog Input mode is based upon ANSEL.
RA2/AN2/T0CKI/INT/C1OUT
Q
Q
Q
Q
Q
Q
Q
Q
BLOCK DIAGRAM OF RA2
Input Mode
Analog
© 2007 Microchip Technology Inc.
C1OUT
C1OUT
Enable
(1)
Input Mode
RAPU
RD PORTA
Analog
1
0
Q
Q
(1)
EN
EN
D
D
V
DD
Weak
V
V
Q3
DD
SS
I/O pin

Related parts for PIC16F688