PIC16F913/914/916/917/946
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
Data Bus
WR PORTA
WR TRISA
D
Q
CK Q
Data Latch
D
Q
CK Q
TRIS Latch
RD TRISA
VDD
I/O Pin
VSS
SE7 and LCDEN
Analog Input or
SE7 and LCDEN
TTL
Input Buffer
RD PORTA
SEG7
SE7 and LCDEN
To A/D Converter and Comparator
DS41250F-page 46
© 2007 Microchip Technology Inc.