/dp32g030-rs

Peripheral Access Crate for the DP32G030 microcontroller

Primary LanguageRustMozilla Public License 2.0MPL-2.0

dp32g030

crates.io

Peripheral Access Crate for the DP32G030 microcontroller. The API is generated using svd2rust.

Usage

In your Cargo.toml (features are optional):

[dependencies]
dp32g030 = { version = "1.0.0", features = ["critical-section", "defmt", "rt"] }

In your code:

use dp32g030;

let peripherals = dp32g030::Peripherals::take().unwrap();

Refer to the svd2rust documentation for further usage.

Credits

  • amnemonic for the original svd mine is extended from
  • itsme for assisting in enriching the svd with data from the datasheet

License

This project is subject to the terms of the Mozilla Public License, v. 2.0.