8.10 I/O Memory
All AVR64EA28/32/48 devices’ I/O and peripheral registers are located in the I/O memory space. Refer to the Peripheral Address Map table for further details.
For compatibility with future devices, if a register containing reserved bits is written,
the reserved bits must be written to ‘0’
. Reserved I/O memory addresses
must never be written.
Single-Cycle I/O Registers
The I/O memory ranging from 0x00
to
0x3F
can be accessed by a single-cycle CPU instruction using
the IN
or OUT
instructions.
The peripherals available in the single-cycle I/O registers are as follows:
- VPORTx
- Refer to the I/O Configuration section for further details
- GPR
- Refer to the General Purpose Register section for further details
- CPU
- Refer to the AVR CPU section for further details
The single-cycle I/O registers ranging from 0x00 to 0x1F (VPORTx and GPR) are also
directly bit-accessible using the SBI
or CBI
instruction. In these single-cycle I/O registers, single bits can be checked by
using the SBIS
or SBIC
instruction.
Refer to the Instruction Set Summary documentation for further details.