|
PIC16F676-EP Datasheet, PDF (25/132 Pages) Microchip Technology – 14-Pin, Flash-Based 8-Bit CMOS Microcontrollers | |||
|
◁ |
3.2.3.3 RA2/AN2/T0CKI/INT/COUT
Figure 3-2 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 (PIC16F676 only)
⢠a digital output from the comparator
⢠the clock input for TMR0
⢠an external edge triggered interrupt
FIGURE 3-2:
Data Bus
DQ
WR
WPUA
CK Q
BLOCK DIAGRAM OF RA2
Analog
Input Mode
VDD
Weak
RD
WPUA
WR
PORTA
DQ
CK Q
WR
TRISA
DQ
CK Q
RD
TRISA
RAPU
COUT
Enable
Analog
Input
Mode
VDD
COUT 1
0
I/O pin
VSS
Analog
Input Mode
RD
PORTA
DQ
WR
IOCA
CK Q
RD
IOCA
Interrupt-on-Change
QD
EN
QD
EN
RD PORTA
To TMR0
To INT
To A/D Converter
PIC16F630/676
3.2.3.4 RA3/MCLR/VPP
Figure 3-3 shows the diagram for this pin. The RA3 pin
is configurable to function as one of the following:
⢠a general purpose input
⢠as Master Clear Reset
FIGURE 3-3:
BLOCK DIAGRAM OF RA3
Data Bus
Reset
RD
VSS
TRISA
RD
PORTA
DQ
WR
IOCA
CK Q
RD
IOCA
Interrupt-on-Change
MCLRE
I/O pin
MCLRE
VSS
QD
EN
QD
EN
RD PORTA
ï£ 2010 Microchip Technology Inc.
DS40039F-page 25
|
▷ |