gd32c1/
lib.rs

1//! Peripheral access API for GD32C1 microcontrollers
2//! (generated using [svd2rust](https://github.com/rust-embedded/svd2rust)
3//! 0.32.0)
4//!
5//! You can find an overview of the API here:
6//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.32.0/svd2rust/#peripheral-api)
7//!
8//! For more details see the README here:
9//! [gd32-rs](https://github.com/gd32-rust/gd32-rs)
10//!
11//! This crate supports all GD32C1 devices; for the complete list please
12//! see:
13//! [gd32c1](https://github.com/gd32-rust/gd32-rs-nightlies/tree/main/gd32c1)
14//!
15//! Due to doc build limitations, not all devices may be shown on docs.rs;
16//! a representative few have been selected instead. For a complete list of
17//! available registers and fields see: [gd32-rs Device Coverage](https://gd32-rust.github.io/gd32-rs/)
18
19#![allow(non_camel_case_types)]
20#![no_std]
21
22mod generic;
23pub use self::generic::*;
24
25#[cfg(feature = "gd32c103")]
26pub mod gd32c103;
27
28#[cfg(feature = "gd32c113")]
29pub mod gd32c113;
30