ch57x-pac
Peripheral Access Crate (PAC) for WCH CH57x RISC-V BLE microcontrollers.
This crate is generated using svd2rust and provides register-level access to CH57x peripherals.
Scope
no_stdPAC for CH57x-family register blocks- Interrupt definitions and vector table support via
rtfeature - Optional
critical-sectionintegration for embedded Rust ecosystem crates
Cargo
[]
= "0.1.2"
Features
rt(default): exports interrupt symbols/vector table glue expected by runtime cratescritical-section: enablescritical-sectionsupport
Minimal Usage
let p = take.unwrap;
p.sys.r8_clk_sys_cfg.modify;
docs.rs Notes
docs.rs builds with:
- target:
riscv32imac-unknown-none-elf - features:
rt,critical-section
License
Licensed under either:
- Apache License, Version 2.0
- MIT license