English
Language : 

PIC16F946 Datasheet, PDF (36/274 Pages) Microchip Technology – 64-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
PIC16F946
3.1.1.6 RA5/AN4/C2OUT/SS/SEG5
Figure 3-6 shows the diagram for this pin. The
RA5/AN4/C2OUT/SS/SEG5 pin is configurable to
function as one of the following:
• a general purpose I/O
• a digital output from Comparator 2
• a slave select input
• an analog output for the LCD
• an analog input for the A/D
FIGURE 3-6:
BLOCK DIAGRAM OF RA5/AN4/C2OUT/SS/SEG5
Data Bus
WR PORTA
WR TRISA
CM<2:0> = 110 or 101
C2OUT
1
D
Q
0
CK Q
Data Latch
D
Q
CK Q
TRIS Latch
RD TRISA SE5 and LCDEN
VDD
VSS
Analog Input or
SE5 and LCDEN
TTL
I/O Pin
RD PORTA
To SS Input
SEG5
SE5 and LCDEN
AN4
DS41265A-page 34
Preliminary
© 2005 Microchip Technology Inc.