PIC16F913/914/916/917/946
3.4.3.7 RB6/ICSPCLK/ICDCK/SEG14
Figure 3-12 shows the diagram for this pin. The RB6
pin is configurable to function as one of the following:
• a general purpose I/O
• an In-Circuit Serial Programming™ clock
• an ICD clock input
• an analog output for the LCD
FIGURE 3-12:
BLOCK DIAGRAM OF RB6
Program Mode/ICD Mode
WPUB<6>
RBPU
SE14 and LCDEN
Data Bus
WR PORTB
WR TRISB
D
Q
CK
Data Latch
D
Q
CK
TRIS Latch
RD TRISB
VDD
P
Weak
Pull-up
VDD
I/O Pin
VSS
SE14 and LCDEN
TTL
Input Buffer
RD PORTB
WR IOC
D
Q
CK Q
RD IOC
Q
D
EN
Q1
Interrupt-on- Q
Change
Set RBIF
S
From other
R RB<7:4> pins
Write ‘0’ to RBIF
ICSPCLK
Program Mode/ICD
Q
D
EN
RD PORTB
Schmitt Trigger
Program Mode or ICD Mode or (SE14 and LCDEN)
SEG14
SE14 and LCDEN
© 2007 Microchip Technology Inc.
DS41250F-page 59