https://github.com/xmc-rs/xmc4200
Peripheral API for XMC4200 series ARM Cortex-M microcontroller in Rust
https://github.com/xmc-rs/xmc4200
cortex-m infineon rust-lang svd2rust xmc
Last synced: 6 days ago
JSON representation
Peripheral API for XMC4200 series ARM Cortex-M microcontroller in Rust
- Host: GitHub
- URL: https://github.com/xmc-rs/xmc4200
- Owner: xmc-rs
- License: mit
- Created: 2017-10-02T03:32:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-01T12:18:27.000Z (5 months ago)
- Last Synced: 2025-03-28T02:39:05.063Z (23 days ago)
- Topics: cortex-m, infineon, rust-lang, svd2rust, xmc
- Language: Rust
- Size: 6.76 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- rust-embedded - `xmc4200` - [](https://crates.io/crates/xmc4200) (Peripheral Access Crates / XMC)
- awesome-embedded-rust - `xmc4200` - [](https://crates.io/crates/xmc4200) (Peripheral Access Crates / XMC)
README
# xmc4200
> THIS IS A WORK IN PROGRESS AND MUCH IS UNTESTED
[](https://crates.io/crates/xmc4200)
[](https://github.com/xmc-rs/xmc4200/workflows/Rust/badge.svg)This is a 'peripheral access crate' for interfacing to the XMC4200 series of microcontrollers for embedded support in Rust that is generated using [svd2rust](https://docs.rs/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](https://docs.rs/svd2rust)
## Generate Crate from SVD
```bash
# Necessary 3rd-party tools
cargo install svd2rust
cargo install form
rustup component add rustfmtsvd.sh # Generates code from crate and formats to rustfmt
```