ch57x-pac
Peripheral Access Crate for the WCH CH57x series microcontrollers.
This crate provides a safe Rust API for accessing the peripherals of the WCH CH57x RISC-V microcontrollers. It is generated from the SVD file using svd2rust.
Usage
Add this to your Cargo.toml:
[]
= "0.1.1"
Or for local development:
[]
= { = "../ch57x-pac" }
Then, in your code:
let p = take.unwrap;
let _uart0 = p.uart0;
Building
To build the crate:
License
Licensed under MIT OR Apache-2.0.