Expand description

This crate contains register definitions for atmega2560, atmega328p, atmega32u4, atmega4809, attiny85, and a few things which apply to AVR microcontrollers generally.

Warning: The doc-build here on docs.rs is only for a subset of supported chips. Please build documentation locally if your MCU’s registers are not documented here.

Which chips the crate is built for depends on the feature flag used. The following chips are available (using feature flags of the same name):

  • at90usb1286
  • atmega1280
  • atmega1284p
  • atmega128rfa1
  • atmega168
  • atmega2560
  • atmega8
  • atmega8u2
  • atmega328p
  • atmega328pb
  • atmega32u4
  • atmega4809
  • atmega48p
  • atmega64
  • atmega644
  • attiny13a
  • attiny167
  • attiny1614
  • attiny202
  • attiny2313
  • attiny2313a
  • attiny816
  • attiny84
  • attiny841
  • attiny85
  • attiny861
  • attiny88

Modules

Assembly instructions

ATmega32U4 Peripheral access API for ATMEGA32U4 microcontrollers (generated using svd2rust v0.19.0 ( ))

ATmega328P Peripheral access API for ATMEGA328P microcontrollers (generated using svd2rust v0.19.0 ( ))

ATmega2560 Peripheral access API for ATMEGA2560 microcontrollers (generated using svd2rust v0.19.0 ( ))

ATmega4809 Peripheral access API for ATMEGA4809 microcontrollers (generated using svd2rust v0.19.0 ( ))

ATtiny85 Peripheral access API for ATTINY85 microcontrollers (generated using svd2rust v0.19.0 ( ))

Common register and bit access and modify traits

Chip-Generic Interrupt Utilities

Attribute Macros

Attribute to declare the entry point of the program

Attribute to declare an interrupt service routine