When using the I/O specific commands IN and OUT, the I/O
addresses 0x00 - 0x3F must be used. When addressing I/O Registers as data space using LD
and ST instructions, 0x20 must be added to these offset addresses.
Name:
PINB
Offset:
0x16
Reset:
N/A
Property:
When addressing I/O Registers as data
space the offset address is 0x36
Bit
7
6
5
4
3
2
1
0
PINBn[7:0]
Access
R
R
R
R
R
R
R
R
Reset
x
x
x
x
x
x
x
x
Bits 7:0 – PINBn[7:0] Port B Input Pins
Address [n = 7:0]
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.