Datasheet
PIC16F913/914/916/917/946
DS41250F-page 46 © 2007 Microchip Technology Inc.
3.2.1.2 RA1/AN1/C2-/SEG7
Figure 3-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 ADC
• an analog input for Comparator C2
• an analog output for the LCD
FIGURE 3-2: BLOCK DIAGRAM OF RA1
QD
Q
CK
Data Latch
TRIS Latch
RD TRISA
RD PORTA
QD
Q
CK
To A/D Converter and Comparator
SEG7
Data Bus
WR PORTA
WR TRISA
Analog Input or
I/O Pin
TTL
Input Buffer
SE7 and LCDEN
SE7 and LCDEN
SE7 and LCDEN
VDD
VSS