8-bit AVR Microcontroller

PORTD – The Port D Data Register

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:
PORTD
Offset:
0x12
Reset:
0x00
Access:
When addressing I/O Registers as data space the offset address is 0x32
Bit76543210
PORTDn[7:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000

Bits 7:0 – PORTDn: Port D Data [n = 7:0]

Port D Data [n = 7:0]