#svd2rust #cortex-m

no-std xmc4300

XMC peripheral library for XMC4300 generated from SVD

13 releases (8 breaking)

new 0.12.0 Jun 3, 2024
0.10.1 Apr 29, 2024
0.9.0 Mar 1, 2024
0.8.0 Dec 26, 2023
0.1.1 Oct 20, 2019

#1728 in Embedded development

Download history 6/week @ 2024-02-21 361/week @ 2024-02-28 24/week @ 2024-03-06 11/week @ 2024-03-13 4/week @ 2024-03-27 13/week @ 2024-04-03 61/week @ 2024-04-10 65/week @ 2024-04-17 541/week @ 2024-04-24 547/week @ 2024-05-01 26/week @ 2024-05-08 18/week @ 2024-05-15 3/week @ 2024-05-22 179/week @ 2024-05-29

230 downloads per month
Used in xmc4-hal

MIT license

8.5MB
238K SLoC

xmc4300

THIS IS A WORK IN PROGRESS AND MUCH IS UNTESTED

crates.io rust

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

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

The inclusion of EtherCAT has been removed from src/lib.rs. This is due to an issue either with the SVD file or the generation of the code using svd2rust. There is no support at this time until a fix can be made. This has not been tested on hardware to ensure that nothing else has been impacted.

Dependencies