avrd

Crates.ioavrd
lib.rsavrd
version1.0.0
sourcesrc
created_at2017-08-22 07:12:32.254833
updated_at2021-02-13 10:02:58.504401
descriptionDevice-specific constants and information for all AVR microcontrollers
homepage
repositoryhttps://github.com/avr-rust/avrd
max_upload_size
id28523
size16,783,449
Dylan McKay (dylanmckay)

documentation

https://docs.rs/avrd

README

avrd

Crates.io Build Status license

AVR device definitons in Rust.

Documentation

This crate exposes information about different AVR microcontrollers so it can be used pragmatically.

You can use this crate directly as a depencency on the AVR bare metal, or on different architectures.

The constants defined in this library facilitate raw IO port operations on AVR chips.

For example

extern crate avrd;
use avrd::current::*; // Import constants for the target MCU

volatile_store(PORTB, 0x1f);

Usage on AVR

Just include the crate as a dependency and it will work.

Enabling all microcontrollers at once

You may want to compile with the all-mcus feature enabled, which enables modules for all microcontrollers to be compiled and included at once.

Commit count: 58

cargo fmt