| Crates.io | ch57x-pac |
| lib.rs | ch57x-pac |
| version | 0.1.0 |
| created_at | 2025-11-11 12:32:33.482074+00 |
| updated_at | 2025-11-11 12:32:33.482074+00 |
| description | Peripheral Access Crate for the WCH CH57x series microcontrollers |
| homepage | |
| repository | https://github.com/Raynhardt-Van-Zyl/ch57x-pac |
| max_upload_size | |
| id | 1927156 |
| size | 1,060,025 |
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.
Add this to your Cargo.toml:
[dependencies]
ch57x-pac = "0.1.0"
Or for local development:
[dependencies]
ch57x-pac = { path = "../ch57x-pac" }
Then, in your code:
use ch57x_pac::UART0;
To build the crate:
cargo build --target riscv32i-unknown-none-elf
Licensed under MIT OR Apache-2.0.