ch32-rs / ch32x0-hal

Rust HAL crate for CH32X035, CH32X033 MCUs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ch32x0-hal

This hal crates supports embassy for CH32X0 series of microcontrollers.

This will be the standard HAL skelton for CH32X0/CH32V003/CH32V103/CH32V20x/CH32V30x/CH32L103 series of microcontrollers.

TODOs

  • Embassy timer driver using Systick
  • SDI Debug
  • GPIO
    • Interrupts (async)
  • UART
    • Half-duplex - I need this for my personal project
    • UART async (DMA)
  • SPI
    • blocking API
    • async API
  • ADC
  • OPA
  • USBPD
  • USB
  • PIOC
  • I2C - not working. First batch of CH32X035 chips doesn't have I2C

The ADC channels 3, 7, 11, and 15, as well as the I2C function are not applicable for products with the fifth-to-last digit of the batch number being 0.

About

Rust HAL crate for CH32X035, CH32X033 MCUs


Languages

Language:Rust 99.8%Language:RPC 0.2%