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

Purpose: Device signature and resource counts.

Namespace: atmega328p::device

namespace mcu = atmega328p;
static_assert(mcu::device::signature_byte_0 == 0x1E, "Signature byte 0");
static_assert(mcu::device::signature_byte_1 == 0x95, "Signature byte 1");
static_assert(mcu::device::signature_byte_2 == 0x0F, "Signature byte 2");
static_assert(mcu::device::timer_count == 3, "Timer count");
Device identity and peripheral counts.
Device-specific definitions for the ATmega328P.
Definition ADC.h:14

The signature bytes identify the device. The counts summarize resources such as timers, PWM channels, ADC channels, and interrupt vectors.