Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/xmc-rs/xmc4400

XMC4400 Peripheral interface library generated from an SVD
https://github.com/xmc-rs/xmc4400

arm cortex-m infineon rust-lang svd2rust xmc

Last synced: about 1 month ago
JSON representation

XMC4400 Peripheral interface library generated from an SVD

Lists

README

        

# xmc4400

> THIS IS A WORK IN PROGRESS AND MUCH IS UNTESTED

[![crates.io](https://img.shields.io/crates/v/xmc4400.svg)](https://crates.io/crates/xmc4400)
[![rust](https://github.com/xmc-rs/xmc4400/workflows/Rust/badge.svg)](https://github.com/xmc-rs/xmc4400/workflows/Rust/badge.svg)

This is a 'peripheral access crate' for interfacing to the XMC4400 series of microcontrollers for embedded support in Rust that is generated using [svd2rust](https://docs.rs/svd2rust) and an SVD file provided by Infineon.

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 rustfmt

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