MCPcopy Index your code
hub / github.com/avr-rust/avrd

github.com/avr-rust/avrd @1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.0.0 ↗ · + Follow
20 symbols 36 edges 267 files 6 documented · 30%
What it actually does AI analysis from the code graph — generated when you open this
loading…
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.

Core symbols most depended-on inside this repo

integer_type
called by 2
device_generator/src/main.rs
get_cli_config
called by 1
device_generator/src/main.rs
all
called by 1
device_generator/src/main.rs
generate_entry_module
called by 1
device_generator/src/main.rs
generate_mcu_module
called by 1
device_generator/src/main.rs
mcu_module_name
called by 1
device_generator/src/main.rs
mcu_module_doc
called by 1
device_generator/src/main.rs
mcu_module_code
called by 1
device_generator/src/main.rs

Shape

Function 19
Class 1

Languages

Rust100%

Modules by API surface

device_generator/src/main.rs19 symbols
build.rs1 symbols

For agents

$ claude mcp add avrd \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact