Datasheet

PIC16C745/765
DS41124D-page 34 Preliminary 1999-2013 Microchip Technology Inc.
TABLE 5-3: PORTB FUNCTIONS
TABLE 5-4: SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
Name Function
Input
Type
Output
Type
Description
RB0/INT
RB0 TTL CMOS Bi-directional I/O
INT ST Interrupt
RB1 RB1 TTL CMOS Bi-directional I/O
RB2 RB2 TTL CMOS Bi-directional I/O
RB3 RB3 TTL CMOS Bi-directional I/O
RB4 RB4 TTL CMOS Bi-directional I/O with Interrupt-on-Change
RB5 RB5 TTL CMOS Bi-directional I/O with Interrupt-on-Change
RB6/ICSPC
RB6 TTL CMOS Bi-directional I/O with Interrupt-on-Change
ICSPC ST In-Circuit Serial Programming Clock input
RB7/ICSPD
RB7 TTL CMOS Bi-directional I/O with Interrupt-on-Change
ICSPD ST CMOS In-Circuit Serial Programming Data I/O
Legend: OD = open drain, ST = Schmitt Trigger
Address Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Value on:
POR,
BOR
Value on all
other resets
06h, 106h PORTB RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 xxxx xxxx
uuuu uuuu
86h, 186h TRISB PORTB Data Direction Register 1111 1111 1111 1111
81h, 181h OPTION_REG RBPU
INTEDG T0CS T0SE PSA PS2 PS1 PS0 1111 1111 1111 1111
Legend: x = unknown, u = unchanged. Shaded cells are not used by PORTB.