16F870 Microchip, 16F870 Datasheet - Page 38

no-image

16F870

Manufacturer Part Number
16F870
Description
Search -----> PIC16F870
Manufacturer
Microchip
Datasheet
PIC16F870/871
TABLE 4-3:
TABLE 4-4:
DS30569B-page 36
06h, 106h
86h, 186h
81h, 181h
Legend:
RB0/INT
RB1
RB2
RB3/PGM
RB4
RB5
RB6/PGC
RB7/PGD
Legend:
Note 1:
Address
Name
2:
x = unknown, u = unchanged. Shaded cells are not used by PORTB.
This buffer is a Schmitt Trigger input when configured as the external interrupt or LVP mode.
This buffer is a Schmitt Trigger input when used in Serial Programming mode.
TTL = TTL input, ST = Schmitt Trigger input
PORTB
TRISB
OPTION_REG
Bit#
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
Name
PORTB FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
TTL/ST
TTL/ST
TTL/ST
TTL/ST
Buffer
PORTB Data Direction Register
TTL
TTL
TTL
TTL
RBPU
Bit 7
RB7
(1)
(1)
(2)
(2)
INTEDG
Bit 6
RB6
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 or programming pin in LVP mode. 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) or In-Circuit Debugger pin.
Internal software programmable weak pull-up. Serial programming clock.
Input/output pin (with interrupt-on-change) or In-Circuit Debugger pin.
Internal software programmable weak pull-up. Serial programming data.
T0CS
Bit 5
RB5
T0SE
Bit 4
RB4
Bit 3
PSA
RB3
Bit 2
RB2
PS2
Function
Bit 1
RB1
PS1
Bit 0
 2003 Microchip Technology Inc.
RB0
PS0
xxxx xxxx uuuu uuuu
1111 1111 1111 1111
1111 1111 1111 1111
POR, BOR
Value on:
Value on
RESETS
all other

Related parts for 16F870