PIC16CE62X
TABLE 5-3:
Name
RB0/INT
PORTB FUNCTIONS
Bit #
bit0
Buffer Type
TTL/ST
(1)
Function
Input/output or external interrupt input. Internal software programmable
weak pull-up.
RB1
bit1
TTL
Input/output pin. Internal software programmable weak pull-up.
RB2
bit2
TTL
Input/output pin. Internal software programmable weak pull-up.
RB3
bit3
TTL
Input/output pin. Internal software programmable weak pull-up.
RB4
bit4
TTL
Input/output pin (with interrupt on change). Internal software
programmable weak pull-up.
RB5
bit5
TTL
Input/output pin (with interrupt on change). Internal software
programmable weak pull-up.
RB6
bit6
Input/output pin (with interrupt on change). Internal software
TTL/ST
(2)
programmable weak pull-up. Serial programming clock pin.
RB7
bit7
Input/output pin (with interrupt on change). Internal software
TTL/ST
(2)
programmable weak pull-up. Serial programming data pin.
Legend: ST = Schmitt Trigger, TTL = TTL input
Note 1: This buffer is a Schmitt Trigger input when con铿乬ured as the external interrupt.
Note 2: This buffer is a Schmitt Trigger input when used in serial programming mode.
TABLE 5-4:
Address Name
06h
86h
81h
PORTB
TRISB
SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
Bit 7
RB7
TRISB7
RBPU
Bit 6
RB6
TRISB6
INTEDG
Bit 5
RB5
Bit 4
RB4
Bit 3
RB3
Bit 2
RB2
Bit 1
RB1
Bit 0
RB0
Value on:
POR / BOR
xxxx xxxx
Value on
All Other
Resets
uuuu uuuu
1111 1111
1111 1111
TRISB5 TRISB4 TRISB3 TRISB2 TRISB1 TRISB0
1111 1111
T0CS
T0SE
PSA
PS2
PS1
PS0
1111 1111
OPTION
Note:
Shaded bits are not used by PORTB.
u = unchanged
x = unknown
漏
1998 Microchip Technology Inc.
Preliminary
DS40182A-page 27