English
Language : 

PIC16F72 Datasheet, PDF (26/136 Pages) Microchip Technology – 28-Pin, 8-Bit CMOS FLASH MCU with A/D Converter
PIC16F72
TABLE 3-3: PORTB FUNCTIONS
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
bit 1
TTL
Input/output pin. Internal software programmable weak pull-up.
RB2
bit 2
TTL
Input/output pin. Internal software programmable weak pull-up.
RB3
bit 3
TTL
Input/output pin. Internal software programmable weak pull-up.
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.
2: This buffer is a Schmitt Trigger input when used in Serial Programming mode.
TABLE 3-4: SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
Address Name Bit 7
Bit 6
Bit 5
Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Value on
POR, BOR
06h, 106h PORTB RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 xxxx xxxx
86h, 186h TRISB PORTB Data Direction Register
1111 1111
81h, 181h OPTION RBPU INTEDG T0CS T0SE PSA PS2 PS1 PS0 1111 1111
Legend: x = unknown, u = unchanged. Shaded cells are not used by PORTB.
Value on
all other
RESETS
uuuu uuuu
1111 1111
1111 1111
DS39597B-page 24
 2002 Microchip Technology Inc.