programming:microchip pics:16F84A portbWhat links here?



Maximum current sourced100 mA
Maximum current sunk150 mA

Port B Hardware





















PinNameInputOutputDescription
6RB0TTLTTLBi-directional I/O Port
INTST-External Interupt
7RB1TTLTTLBi-directional I/O Port B
8RB2TTLTTLBi-directional I/O Port B
9RB3TTLTTLBi-directional I/O Port B
10RB4TTLTTLBi-directional I/O Port B, interupt-on-change pin.
11RB5TTLTTLBi-directional I/O Port B, interupt-on-change pin.
12RB6TTLTTLBi-directional I/O Port B, interupt-on-change pin.
13RB7TTLTTLBi-directional I/O Port B, interupt-on-change pin.


Port B Register





















Bit Kind Name Description Pwr Other
bit 7 R/W-x RB7 General Purpose I/O bit
1 = pin is > Vih.
0 = pin is < Vil.
x u
bit 6 R/W-x RB6 x u
bit 5 R/W-x RB5 x u
bit 4 R/W-X RB4 x u
bit 3 R/W-X RB3 x u
bit 2 R/W-X RB2 x u
bit 1 R/W-X RB1 x u
bit 0 R/W-X RB0 x u



TRISB Register











Bit Kind Name Description Pwr Other
bit 7R/W-1TRISB71 = pin is configured as an input.
0 = pin is configured as an output.
11
bit 6R/W-1TRISB611
bit 5R/W-1TRISB511
bit 4R/W-1TRISB411
bit 3R/W-1TRISB311
bit 2R/W-1TRISB211
bit 1R/W-1TRISB111
bit 0R/W-1TRISB011


        BCF     STATUS, RP0     ;
        CLRF    PORTB           ; Initialize PORTB by
                                ; clearing output
                                ; data latches
        BSF     STATUS, RP0     ; Select Bank 1
        MOVLW   b'11001111'     ; Value used to
                                ; initialize data
                                ; direction
        MOVWF   TRISB           ; Set RB7-RB6 and RB3-RB0 as inputs
                                ; RB5-RB4 as outputs
programming:microchip pics:16F84A portb
Topical Bible - God's discipline of the believer
Topical Bible - Levirate marriage
X Windows Functions - Window XCreateSimpleWindow(display, parent, x, y, width, height, border_width, depth, class, visual, valuemask, attributes)
linux - software
Topical Bible - Angel of God
Topical Bible - Jesus the Anointed One
Topical Bible - Jesus in the Old Testament
Topical Bible - God's promises to (about) Ishmael
programming:c:functions:strnpos
programming - C language
Topical Bible - Sealed by the Spirit
Topical Bible - Land of Merchants
Topical Bible - Magic and Magicians
programming - windows - WM_NCCALCSIZE
programming - C - function strcat
embedded systems - Raspberry PI
programming - C - function strnpos
filename:programming:microchip pics:16F84A portb
filename:programming%3Amicrochip%20pics%3A16F84A%20portb
last edit:March 26 2009 20:56:12 (5531 days ago)
ct = 1716070238.000000 = May 18 2024 18:10:38
ft = 1238115372.000000 = March 26 2009 20:56:12
dt = 477954866.000000