# ch57x-pac
[](https://crates.io/crates/ch57x-pac)
[](https://docs.rs/ch57x-pac)
[](https://crates.io/crates/ch57x-pac)
[](https://github.com/Raynhardt-Van-Zyl/ch57x-pac/actions/workflows/ci.yml)
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_std` PAC for CH57x-family register blocks
- Interrupt definitions and vector table support via `rt` feature
- Optional `critical-section` integration for embedded Rust ecosystem crates
## Cargo
```toml
[dependencies]
ch57x-pac = "0.1.3"
```
## Features
- `rt` (default): exports interrupt symbols/vector table glue expected by runtime crates
- `critical-section`: enables `critical-section` support
## Minimal Usage
```rust
let p = ch57x_pac::Peripherals::take().unwrap();