PIC16F684-I/SLG Microchip, PIC16F684-I/SLG Datasheet - Page 40

no-image

PIC16F684-I/SLG

Manufacturer Part Number
PIC16F684-I/SLG
Description
pic, flash, Microcontrollers, Microprocessors, Semiconductors and Actives, ic, mcu
Manufacturer
Microchip
Datasheet
PIC16F684
4.2.4.5
Figure 4-5 shows the diagram for this pin. The RA4 pin
is configurable to function as one of the following:
• a general purpose I/O
• an analog input for the A/D
• a TMR1 gate input
• a crystal/resonator connection
• a clock output
FIGURE 4-5:
DS41202C-page 38
Data Bus
PORTA
PORTA
WPUA
WPUA
TRISA
TRISA
IOCA
IOCA
Note 1: CLK modes are XT, HS, LP, LPTMR1 and CLKOUT
WR
WR
WR
WR
RD
RD
RD
RD
Interrupt-on-
Change
2: With CLKOUT option.
3: Analog Input mode comes from ANSEL.
Enable.
D
D
D
D
To T1G
To A/D Converter
CK
CK
CK
CK
RA4/AN3/T1G/OSC2/CLKOUT
Q
Q
Q
Q
Q
Q
Q
Q
Input Mode
BLOCK DIAGRAM OF RA4
Analog
OSC1
F
OSC
INTOSC/
RC/EC
CLKOUT
CLKOUT
Enable
(3)
Enable
Input Mode
/4
RD PORTA
RAPU
CLKOUT
Analog
Enable
Oscillator
Circuit
Modes
Q
Q
1
0
(2)
CLK
EN
EN
(1)
D
D
V
DD
Weak
V
V
DD
SS
Q3
I/O PIN
Preliminary
4.2.4.6
Figure 4-6 shows the diagram for this pin. The RA5 pin
is configurable to function as one of the following:
• a general purpose I/O
• a TMR1 clock input
• a crystal/resonator connection
• a clock input
FIGURE 4-6:
Data Bus
PORTA
PORTA
WPUA
WPUA
TRISA
TRISA
IOCA
IOCA
WR
WR
WR
WR
RD
RD
RD
RD
Interrupt-on-
Change
Note
D
D
D
D
To TMR1 or CLKGEN
CK
CK
CK
CK
1: Timer1 LP Oscillator enabled.
2: When using Timer1 with LP oscillator, the
RA5/T1CKI/OSC1/CLKIN
Schmitt Trigger is bypassed.
Q
Q
Q
Q
Q
Q
Q
Q
BLOCK DIAGRAM OF RA5
INTOSC
 2004 Microchip Technology Inc.
OSC2
Mode
INTOSC
RD PORTA
RAPU
Mode
Oscillator
Circuit
TMR1LPEN
Q
Q
EN
EN
D
D
V
(1)
DD
Weak
V
V
DD
Q3
SS
I/O PIN
(2)

Related parts for PIC16F684-I/SLG