ATmega2560
Hardware definitions
Loading...
Searching...
No Matches
Definitions model

The ATmega2560 headers describe device-specific hardware facts only. They do not access registers or implement peripheral operations.

Interface

namespace mcu = atmega2560;
Aggregate include for all ATmega2560 definitions.
ATmega2560 hardware definitions.
Definition ADC.h:15

The library uses namespaces for hardware modules, strongly typed enums for identifiers and modes, and fixed-width integer types for register addresses and limits.

Register addresses

register_map stores AVR data-space addresses. Low I/O-space instruction operands use a different offset. Register constants are not pointers and perform no reads or writes.

Logical pins and packages

Logical pin identifiers are independent of physical package terminals. The package selected by the application controls terminal mapping through package::selected.

Scope

Hardware metadata, including capabilities and limitations, is provided at compile time. Firmware and peripheral libraries remain responsible for validating board wiring and performing hardware access.