Datasheet

PIC16F913/914/916/917/946
DS41250F-page 60 © 2007 Microchip Technology Inc.
3.4.3.8 RB7/ICSPDAT/ICDDAT/SEG13
Figure 3-13 shows the diagram for this pin. The RB7
pin is configurable to function as one of the following:
a general purpose I/O
an In-Circuit Serial Programming™ I/O
an ICD data I/O
an analog output for the LCD
FIGURE 3-13: BLOCK DIAGRAM OF RB7
From other
Set RBIF
RB<7:4> pins
Q1
QD
CK
Data Latch
TRIS Latch
QD
CK
TTL
Input Buffer
SE13 and LCDEN
Data Bus
WR PORTB
WR TRISB
P
VDD
I/O Pin
Weak
Pull-up
SE13 and LCDEN
RBPU
D
Q
EN
PORT/Program Mode/ICD
SEG13
PGD DRVEN
ICSPDAT
SE13 and LCDEN
Program
Mode/ICD
VDD
VSS
RD TRISB
RD PORTB
QD
CK
Q
RD IOC
WR IOC
RD PORTB
D
Q
EN
Interrupt-on-
Change
Write ‘0’ to RBIF
Q
S
R
0
1
0
1
ICSPDAT/ICDDAT
Schmitt Trigger
Program Mode or ICD Mode or (SE13 and LCDEN)