Skip to content

xmc-rs/xmc4400

Repository files navigation

xmc4400

THIS IS A WORK IN PROGRESS AND MUCH IS UNTESTED

crates.io rust

This is a 'peripheral access crate' for interfacing to the XMC4400 series of microcontrollers for embedded support in Rust that is generated using svd2rust and an SVD file provided by Infineon.

All API's and usage (besides what registers exist) are defined by svd2rust

Generate Crate from SVD

# Necessary 3rd-party tools
cargo install svd2rust
cargo install form
rustup component add rustfmt

svd.sh # Generates code from crate and formats to rustfmt