Crates.io | ch32v-rt |
lib.rs | ch32v-rt |
version | 0.0.3 |
source | src |
created_at | 2023-10-11 14:26:30.705016 |
updated_at | 2024-01-01 16:00:41.202739 |
description | DEPRECATED: use qingke-rt instead |
homepage | https://github.com/ch32v-rs/ch32v-rt |
repository | https://github.com/ch32v-rs/ch32v-rt |
max_upload_size | |
id | 1000344 |
size | 13,995 |
Runtime support for WCH's 32bit RISC-V MCUs.
#[ch32v_rt::interrupt]
fn UART0() {
// ...
}
#[ch32v_rt::entry]
fn main() -> ! {
loop {}
}
#[ch32v_rt::highcode]
fn some_highcode_fn() {
// ...
// This fn will be loaded into the highcode(SRAM) section.
}