PIC16F913/914/916/917/946
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
PORT/Program Mode/ICD
ICSPDAT
VDD
RBPU
SE13 and LCDEN
Weak
P
Pull-up
VDD
VSS
1
0
Data Bus
D
Q
I/O Pin
WR PORTB
CK
Data Latch
D
Q
WR TRISB
CK
TRIS Latch
0
1
PGD DRVEN
TTL
Input Buffer
SE13 and LCDEN
RD TRISB
RD PORTB
D
Q
D
Q
WR IOC
RD IOC
Q1
EN
CK
Q
Program
Mode/ICD
Set RBIF
S
Interrupt-on-
Change
Q
D
Q
From other
RB<7:4> pins
R
EN
RD PORTB
Write ‘0’ to RBIF
Schmitt Trigger
ICSPDAT/ICDDAT
SEG13
Program Mode or ICD Mode or (SE13 and LCDEN)
SE13 and LCDEN
DS41250F-page 60
© 2007 Microchip Technology Inc.