xmc4200

Peripheral access library for XCM4200 ARM Cortex-M


Keywords
embedded, no_std, cortex-m, svd2rust, xmc4x, infineon, rust-lang, xmc
License
MIT

Documentation

xmc4200

THIS IS A WORK IN PROGRESS AND MUCH IS UNTESED

crates.io rust

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

There is an optional rt that can be utilized. An explanation of the feature is given by svd2rust

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

Using Crate

[dependencies.xmc4200]
version = "0.2.1"
features = ["rt"]