#micro-controller #svd2rust

dp32g030

Peripheral Access Crate for the DP32G030 microcontroller

1 stable release

1.0.0 Jul 25, 2024

#707 in Embedded development

MPL-2.0 license

54KB

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.

Dependencies

~0.8–2.2MB
~38K SLoC