16F84 MICROCHIP [Microchip Technology], 16F84 Datasheet - Page 24

no-image

16F84

Manufacturer Part Number
16F84
Description
18-pin Flash/EEPROM 8-Bit Microcontrollers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC16F8X
EXAMPLE 5-1:
CLRF
BSF
MOVLW
MOVWF
TABLE 5-3
TABLE 5-4
DS30430C-page 24
Address Name
RB0/INT
RB1
RB2
RB3
RB4
RB5
RB6
RB7
Legend: TTL = TTL input, ST = Schmitt Trigger.
Note 1: This buffer is a Schmitt Trigger input when configured as the external interrupt.
06h
86h
81h
Legend: x = unknown, u = unchanged. Shaded cells are not used by PORTB.
Name
2: This buffer is a Schmitt Trigger input when used in serial programming mode.
PORTB
STATUS, RP0
0xCF
TRISB
PORTB
TRISB
OPTION_
REG
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
Bit
PORTB FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
INITIALIZING PORTB
TRISB7
RBPU
Bit 7
RB7
; Initialize PORTB by
; setting output
; data latches
; Select Bank 1
; Value used to
; initialize data
; direction
; Set RB<3:0> as inputs
; RB<5:4> as outputs
; RB<7:6> as inputs
Buffer Type
TTL/ST
TTL/ST
TTL/ST
INTEDG
TRISB6
TTL
TTL
TTL
TTL
TTL
Bit 6
RB6
(1)
(2)
(2)
TRISB5
T0CS
Bit 5
RB5
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.
TRISB4
T0SE
Bit 4
RB4
TRISB3
Bit 3
RB3
PSA
I/O Consistency Function
TRISB2
Bit 2
RB2
PS2
TRISB1
Bit 1
RB1
PS1
RB0/INT
TRISB0
Bit 0
PS0
1998 Microchip Technology Inc.
xxxx xxxx
1111 1111
1111 1111
Power-on
Value on
Reset
other resets
Value on all
uuuu uuuu
1111 1111
1111 1111

Related parts for 16F84