Datasheet
© 2007 Microchip Technology Inc. DS41250F-page 49
PIC16F913/914/916/917/946
3.2.1.5 RA4/C1OUT/T0CKI/SEG4
Figure 3-5 shows the diagram for this pin. The RA4 pin
is configurable to function as one of the following:
• a general purpose I/O
• a digital output from Comparator C1
• a clock input for Timer0
• an analog output for the LCD
FIGURE 3-5: BLOCK DIAGRAM OF RA4
C1OUT
CM<2:0> = 110 or 101
0
1
Schmitt Trigger
QD
Q
CK
Data Latch
TRIS Latch
RD TRISA
RD PORTA
QD
Q
CK
T0CKI
Data Bus
WR PORTA
WR TRISA
SEG4
I/O Pin
TTL
Input Buffer
SE4 and LCDEN
SE4 and LCDEN
SE4 and LCDEN
SE4 and LCDEN
VDD
VSS