A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/avr-rust/avrd below:

GitHub - avr-rust/avrd: AVR device definitions

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);

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4