ch57x-pac

Crates.ioch57x-pac
lib.rsch57x-pac
version0.1.0
created_at2025-11-11 12:32:33.482074+00
updated_at2025-11-11 12:32:33.482074+00
descriptionPeripheral Access Crate for the WCH CH57x series microcontrollers
homepage
repositoryhttps://github.com/Raynhardt-Van-Zyl/ch57x-pac
max_upload_size
id1927156
size1,060,025
Raynhardt Van Zyl (Raynhardt-Van-Zyl)

documentation

README

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:

[dependencies]
ch57x-pac = "0.1.0"

Or for local development:

[dependencies]
ch57x-pac = { path = "../ch57x-pac" }

Then, in your code:

use ch57x_pac::UART0;

Building

To build the crate:

cargo build --target riscv32i-unknown-none-elf

License

Licensed under MIT OR Apache-2.0.

Commit count: 0

cargo fmt