Datasheet

18.4.13. PIND – The Port D Input Pins Address
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. The device is a complex microcontroller with more peripheral units than can be supported
within the 64 location reserved in Opcode for the IN and OUT instructions. For the Extended I/O space
from 0x60 in SRAM, only the ST/STS/STD and LD/LDS/LDD instructions can be used.
Name:  PIND
Offset:  0x10
Reset:  N/A
Property:
 
When addressing I/O Registers as data space the offset address is 0x30
Bit 7 6 5 4 3 2 1 0
PIND7 PIND6 PIND5 PIND4 PIND3 PIND2 PIND1 PIND0
Access
R R R R R R R R
Reset x x x x x x x x
Bits 7:0 – PINDn: Port D Input Pins Address [n = 7:0]
Atmel ATmega64A [DATASHEET]
Atmel-8160E-ATmega64A_Datasheet_Complete-09/2015
124