Skip to content

About

A header-only C++ library containing hardware definitions for the ATmega2560.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

ATmega2560

Hardware definitions for the ATmega2560 microcontroller.

Header-only C++11 library describing registers, memory, GPIO, peripherals, package pins, clock sources, interrupts, fuses, electrical characteristics and errata.

No hardware access, drivers or initialization code is included.

Usage

#define MCU_PACKAGE_TQFP100
#define MCU_GRADE_INDUSTRIAL_85C
#define MCU_CLOCK_HZ 16000000UL

#include <atmega2560/ATmega2560.h>

namespace mcu = atmega2560;

For smaller includes, import the required module directly:

#include <atmega2560/Pin.h>
#include <atmega2560/GPIO.h>
#include <atmega2560/RegisterMap.h>

The project selects its package, operating grade and clock. Clock and fuse settings must match the physical board.

Structure

  • include/atmega2560/ — hardware definitions.
  • docs/ — technical reference and module documentation.
  • examples/ — usage examples.
  • Doxyfile — API documentation configuration.

Documentation

Getting started · Module reference · Technical references

License

See LICENSE.

About

A header-only C++ library containing hardware definitions for the ATmega2560.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages