![Microchip Technology PIC12F1501 Manual Download Page 112](http://html1.mh-extra.com/html/microchip-technology/pic12f1501/pic12f1501_manual_1785833112.webp)
2011-2015 Microchip Technology Inc.
DS40001609E-page 113
PIC16(L)F1508/9
11.6
Register Definitions: PORTB
REGISTER 11-7:
PORTB: PORTB REGISTER
R/W-x/x
R/W-x/x
R/W-x/x
R/W-x/x
U-0
U-0
U-0
U-0
RB7
RB6
RB5
RB4
—
—
—
—
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
bit 7-4
RB<7:4>
: PORTB I/O Value bits
(1)
1
= Port pin is > V
IH
0
= Port pin is < V
IL
bit 3-0
Unimplemented:
Read as ‘
0
’
Note 1:
Writes to PORTB are actually written to corresponding LATB register. Reads from PORTB register is
return of actual I/O pin values.
REGISTER 11-8:
TRISB: PORTB TRI-STATE REGISTER
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
U-0
U-0
U-0
U-0
TRISB7
TRISB6
TRISB5
TRISB4
—
—
—
—
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
bit 7-4
RB<7:4>
: PORTB Tri-State Control bits
1
= PORTB pin configured as an input (tri-stated)
0
= PORTB pin configured as an output
bit 3-0
Unimplemented:
Read as ‘
0
’