#cortex-m #svd2rust

no-std xmc4300

XMC peripheral library for XMC4300 generated from SVD

14 releases (9 breaking)

new 0.13.0 Dec 1, 2024
0.12.0 Jun 3, 2024
0.11.0 May 3, 2024
0.9.0 Mar 1, 2024
0.1.1 Oct 20, 2019

#624 in Embedded development

Download history 13/week @ 2024-08-17 1/week @ 2024-08-24 55/week @ 2024-09-21 4/week @ 2024-09-28 48/week @ 2024-10-05 91/week @ 2024-10-19 2/week @ 2024-10-26 8/week @ 2024-11-23 382/week @ 2024-11-30

391 downloads per month
Used in xmc4-hal

MIT license

8MB
234K 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