Datasheet
1999-2013 Microchip Technology Inc. DS41106C-page 27
PIC16C712/716
FIGURE 3-7: BLOCK DIAGRAM OF RB7:RB4 PINS
TABLE 3-3: PORTB FUNCTIONS
Data Latch
From other
RBPU
(1)
P
V
DD
I/O
QD
CK
QD
CK
QD
EN
QD
EN
DATA BUS
WR PORT
WR TRIS
Set RBIF
TRIS Latch
RD TRIS
RD PORT
RB7:RB4 pins
weak
pull-up
RD PORT
Latch
TTL
Buffer
pin
ST
Buffer
RB7:RB6 in Serial Programming mode
Q3
Q1
Note 1: To enable weak pull-ups, set the appropriate TRIS bit(s) and clear the RBPU bit (OPTION_REG<7>).
VSS
VDD
Name Bit# Buffer Function
RB0/INT bit 0 TTL/ST
(1)
Input/output pin or external interrupt input. Internal software
programmable weak pull-up.
RB1/T1OS0/
T1CKI
bit 1
TTL/ST
(1)
Input/output pin or Timer1 oscillator output, or Timer1 clock input. Internal
software programmable weak pull-up. See Timer1 section for detailed
operation.
RB2/T1OSI bit 2
TTL/ST
(1)
Input/output pin or Timer1 oscillator input. Internal software programmable
weak pull-up. See Timer1 section for detailed operation.
RB3/CCP1 bit 3
TTL/ST
(1)
Input/output pin or Capture 1 input, or Compare 1 output, or PWM1 output.
Internal software programmable weak pull-up. See CCP1 section for
detailed operation.
RB4 bit 4 TTL Input/output pin (with interrupt-on-change). Internal software programmable
weak pull-up.
RB5 bit 5 TTL Input/output pin (with interrupt-on-change). Internal software programmable
weak pull-up.
RB6 bit 6 TTL/ST
(2)
Input/output pin (with interrupt-on-change). Internal software programmable
weak pull-up. Serial programming clock.
RB7 bit 7 TTL/ST
(2)
Input/output pin (with interrupt-on-change). Internal software programmable
weak pull-up. Serial programming data.
Legend: TTL = TTL input, ST = Schmitt Trigger input
Note 1: This buffer is a Schmitt Trigger input when configured as the external interrupt or peripheral input.
2: This buffer is a Schmitt Trigger input when used in Serial Programming mode.