|
PIC16F946 Datasheet, PDF (55/274 Pages) Microchip Technology – 64-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology | |||
|
◁ |
PIC16F946
3.4.1.7 RC6/TX/CK/SCK/SCL/SEG9
Figure 3-20 shows the diagram for this pin. The
RC6/TX/CK/SCK/SCL/SEG9 pin is configurable to
function as one of the following:
⢠a general purpose I/O
⢠an asynchronous serial output
⢠a synchronous clock I/O
⢠a SPI clock I/O
⢠an I2C data I/O
⢠an analog output for the LCD
FIGURE 3-20:
BLOCK DIAGRAM OF RC6/TX/CK/SCK/SCL/SEG9
PORT/SCEN/SSP Mode Select(1)
I2C⢠Data Out
0
TX/CK Data Out
1
SCK Data Out
2
Data Bus D
Q
3
WR PORTC
CK Q
Data Latch
D
Q
WR TRISC
CK Q
TRIS Latch
VDD
RC6/TX/
CK/SCK/
SCL/SEG9
VSS Pin
SCEN or I2C⢠Drive
RD TRISC
SE9 and LCDEN
Schmitt
Trigger
RD PORTC
CK/SCL/SCK Input
SEG9
SE9 and LCDEN
Note 1:
If all three data output sources are enabled, the following priority order will be used:
⢠USART data
⢠SSP data
⢠PORT data
© 2005 Microchip Technology Inc.
Preliminary
DS41265A-page 53
|
▷ |