ch57x-hal-raynhardt

Crates.ioch57x-hal-raynhardt
lib.rsch57x-hal-raynhardt
version0.0.2
created_at2025-11-11 12:40:07.621757+00
updated_at2025-11-11 12:40:07.621757+00
descriptionHAL for the CH57x RISC-V BLE microcontrollers from WCH
homepagehttps://github.com/Raynhardt-Van-Zyl/ch57x-hal
repositoryhttps://github.com/Raynhardt-Van-Zyl/ch57x-hal
max_upload_size
id1927163
size2,973,001
Raynhardt Van Zyl (Raynhardt-Van-Zyl)

documentation

https://docs.rs/ch57x-hal

README

ch57x-hal

Github Actions Crates.io Crates.io docs.rs

HAL for the CH57x RISC-V BLE microcotrollers from WCH.

This crate is under random and active development. DO NOT USE in production.

This should be the reference hal implementation for CH57x.

Features

  • Basic: clock init, delay, interrupt, etc.

  • Dedicated runtime: interrupt table, hardware stack push, highcode support, critical section implementation

  • embassy support

    • time driver with SysTick, defaults to 32KHz tick
    • about 7k flash rom overhead
  • GPIO, with async support

  • UART, basic blocking tx, rx

  • RTC, with datetime support

  • SysTick delay (conflicts with embassy time driver)

  • ADC, with Temperature sensor, VBAT sensor

  • SPI

  • libISP ROM functions

  • Basic BLE library support

Usage

Refer Cargo.toml and examples directory.

Notes

  • UNDOCUMENTED: tags in code comments means the information is not from official documents.

References

Commit count: 0

cargo fmt