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

Purpose: Interrupt sources, vector numbers, and vector word addresses.

Namespace: atmega328p::interrupts

The vector table contains 26 slots, including Reset, followed by 25 interrupt sources.

namespace mcu = atmega328p;
constexpr mcu::interrupts::Vector vector =
mcu::interrupts::Vector::INT0;
constexpr mcu::interrupts::WordAddress address =
mcu::interrupts::WordAddress::INT0;
static_assert(mcu::interrupts::vector_count == 26, "Vector count");
Interrupt sources, vector numbers, and program addresses.
Device-specific definitions for the ATmega328P.
Definition ADC.h:14

This header describes vector positions only. It does not declare ISR functions or move the vector table.