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