Datasheet
© 2007 Microchip Technology Inc. DS41250F-page 59
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
From other
Set RBIF
RB<7:4> pins
Q1
Program Mode/ICD
ICSPCLK
QD
CK
Data Latch
TRIS Latch
RD TRISB
RD PORTB
QD
CK
D
Q
EN
TTL
Input Buffer
SE14 and LCDEN
Data Bus
WR PORTB
WR TRISB
P
VDD
I/O Pin
Weak
Pull-up
SE14 and LCDEN
RBPU
D
Q
EN
Program Mode/ICD Mode
SEG14
SE14 and LCDEN
VDD
VSS
QD
CK
Q
RD IOC
WR IOC
Interrupt-on-
Change
Write ‘0’ to RBIF
Q
S
R
RD PORTB
WPUB<6>
Schmitt Trigger
Program Mode or ICD Mode or (SE14 and LCDEN)