Skip to content

HAL for the CH32V00x family of microcontrollers

Notifications You must be signed in to change notification settings

david-sawatzke/ch32v00x-hal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ch32v00x-hal

This is a WIP implementation of the embedded-hal traits for the CH32V0 family of microcontrollers.

  • CH32V003: Currently only chip in the family

Peripheral status

  • PWR: Power control
  • RCC: Reset and Clock Control
  • IWDG: Independent Watchdog
  • WWDG: Window Watchdog
  • FPIC: Programmable Fast Interrupt Controller
  • GPIO: General Purpose Input/Output
  • AFIO: Alternate Function Input/Output
  • DMA: Direct Memory Access control
  • ADC: Analog to Digital Converter
  • ADTM: Advanced control Timer (TIM1)
  • GPTM: General Purpose Timer (TIM2)
  • USART: Universal Synchronous Asynchronous Receiver Transmitter
  • I2C: Inter-intergrated Circuit interface
  • SPI: Serial Peripheral Interface
  • ESIG: Electronic Signature
  • FLASH: Flash memory and user option bytes
  • EXTEND: Extended configuration
  • DBG: Debug support

RISC-V E-extension support

As of 1.70, Rust does not support the RV32EC instruction of the QingKe RISC-V2A core. There is a prototype fork of the Rust compiler available at https://github.com/Noxime/rust/tree/rv32e. Please note the branch "rv32e". For more details, please read the article https://noxim.xyz/blog/rust-ch32v003/

About

HAL for the CH32V00x family of microcontrollers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.4%
  • RPC 0.6%