Skip to content
/ xmc4200 Public

Peripheral API for XMC4200 series ARM Cortex-M microcontroller in Rust

License

Notifications You must be signed in to change notification settings

xmc-rs/xmc4200

Repository files navigation

xmc4200

THIS IS A WORK IN PROGRESS AND MUCH IS UNTESTED

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.

The features of rt and critical-section have been enabled by default.

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