English
Language : 

PIC16F882_09 Datasheet, PDF (46/328 Pages) Microchip Technology – 28/40/44-Pin, Enhanced Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F882/883/884/886/887
3.2.3.4 RA3/AN3/VREF+/C1IN+
Figure 3-4 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose input
• an analog input for the ADC
• a positive voltage reference input for the ADC and
CVREF
• a positive analog input to Comparator C1
FIGURE 3-4:
Data Bus
WR
PORTA
DQ
CK Q
WR
TRISA
DQ
CK Q
RD
TRISA
BLOCK DIAGRAM OF RA3
VDD
I/O Pin
VSS
Analog(1)
Input Mode
RD
PORTA
To Comparator (positive input)
To Comparator (VREF+)
To A/D Converter (VREF+)
To A/D Converter (analog channel)
Note 1: ANSEL determines Analog Input mode.
3.2.3.5 RA4/T0CKI/C1OUT
Figure 3-5 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• a clock input for Timer0
• a digital output from Comparator C1
FIGURE 3-5:
Data Bus
DQ
WR
PORTA
CK Q
WR
TRISA
DQ
CK Q
BLOCK DIAGRAM OF RA4
C1OUT
Enable
VDD
C1OUT 1
0
I/O Pin
VSS
RD
TRISA
RD
PORTA
To Timer0
DS41291F-page 44
© 2009 Microchip Technology Inc.