PIC16F913/914/916/917/946
3.4.3
PIN DESCRIPTIONS AND
DIAGRAMS
Each PORTB pin is multiplexed with other functions. The
pins and their combined functions are briefly described
here. For specific information about individual functions
such as the LCD or interrupts, refer to the appropriate
section in this data sheet.
3.4.3.1 RB0/INT/SEG0
Figure 3-9 shows the diagram for this pin. The RB0 pin
is configurable to function as one of the following:
• a general purpose I/O
• an external edge triggered interrupt
• an analog output for the LCD
3.4.3.2 RB1/SEG1
Figure 3-9 shows the diagram for this pin. The RB1 pin
is configurable to function as one of the following:
• a general purpose I/O
• an analog output for the LCD
3.4.3.3 RB2/SEG2
Figure 3-9 shows the diagram for this pin. The RB2 pin
is configurable to function as one of the following:
• a general purpose I/O
• an analog output for the LCD
3.4.3.4 RB3/SEG3
Figure 3-9 shows the diagram for this pin. The RB3 pin
is configurable to function as one of the following:
• a general purpose I/O
• an analog output for the LCD
FIGURE 3-9:
BLOCK DIAGRAM OF RB<3:0>
RBPU
WPUB<3:0>
SE<3:0>
Data Bus D
Q
WR PORTB
CK
Data Latch
D
Q
VDD
P
Weak
Pull-up
VDD
I/O Pin
VSS
WR TRISB
CK
TRIS Latch
RD TRISB
SE<3:0> and LCDEN
TTL
Input Buffer
RD PORTB
SEG<3:0>
INT(1)
Note 1: RB0 only.
SE<3:0> and LCDEN
Schmitt Trigger
SE0 and LCDEN
DS41250F-page 56
© 2007 Microchip Technology Inc.