ATmega328p
Hardware definitions
Loading...
Searching...
No Matches
Architecture.h

Purpose: AVR8 architecture characteristics.

Namespace: atmega328p::architecture

The header describes the CPU word and data bus widths, register file, program counter, stack pointer, status register, instruction count, pipeline, and multiplier.

namespace mcu = atmega328p;
static_assert(mcu::architecture::cpu_word_bits == 8, "CPU word width");
static_assert(mcu::architecture::general_purpose_register_count == 32,
"General-purpose registers");
static_assert(mcu::architecture::harvard_architecture == 1,
"Harvard architecture");
AVR8 architecture characteristics.
Device-specific definitions for the ATmega328P.
Definition ADC.h:14

These are descriptive values, not an emulator or instruction implementation.