PIC16C63A/65B/73B/74B
TABLE 5-3:
Name
RB0/INT
RB1
RB2
RB3
RB4
RB5
RB6
RB7
PORTB FUNCTIONS
Bit#
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
Buffer
TTL/ST
(1)
TTL
TTL
TTL
TTL
TTL
TTL/ST
(2)
TTL/ST
(2)
Function
Input/output pin or external interrupt input. Internal software
programmable weak pull-up.
Input/output pin. Internal software programmable weak pull-up.
Input/output pin. Internal software programmable weak pull-up.
Input/output pin. Internal software programmable weak pull-up.
Input/output pin (with interrupt-on-change). Internal software programmable weak
pull-up.
Input/output pin (with interrupt-on-change). Internal software programmable weak
pull-up.
Input/output pin (with interrupt-on-change). Internal software programmable weak
pull-up. Serial programming clock.
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.
2:
This buffer is a Schmitt Trigger input when used in Serial Programming mode.
TABLE 5-4:
Address
06h
86h
81h
SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
Name
Bit 7
RB7
Bit 6
RB6
Bit 5
RB5
Bit 4
RB4
Bit 3
RB3
Bit 2
RB2
Bit 1
RB1
Bit 0
RB0
Value on:
POR,
BOR
xxxx xxxx
1111 1111
Value on
all other
RESETS
uuuu uuuu
1111 1111
1111 1111
PORTB
TRISB
OPTION_REG
PORTB Data Direction register
RBPU
INTEDG
T0CS
T0SE
PSA
PS2
PS1
PS0
1111 1111
Legend:
x
= unknown,
u
= unchanged. Shaded cells are not used by PORTB.
DS30605C-page 32
2000 Microchip Technology Inc.