项目作者: xmc-rs

项目描述 :
Peripheral API for XMC4200 series ARM Cortex-M microcontroller in Rust
高级语言: Rust
项目地址: git://github.com/xmc-rs/xmc4200.git
创建时间: 2017-10-02T03:32:32Z
项目社区:https://github.com/xmc-rs/xmc4200

开源协议:MIT License

下载


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

  1. # Necessary 3rd-party tools
  2. cargo install svd2rust
  3. cargo install form
  4. rustup component add rustfmt
  5. svd.sh # Generates code from crate and formats to rustfmt