stm32g0/lib.rs
1//! Peripheral access API for STM32G0 microcontrollers
2//! (generated using [svd2rust](https://github.com/rust-embedded/svd2rust)
3//! 0.36.1)
4//!
5//! You can find an overview of the API here:
6//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.36.1/svd2rust/#peripheral-api)
7//!
8//! For more details see the README here:
9//! [stm32-rs](https://github.com/stm32-rs/stm32-rs)
10//!
11//! This crate supports all STM32G0 devices; for the complete list please
12//! see:
13//! [stm32g0](https://crates.io/crates/stm32g0)
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: [stm32-rs Device Coverage](https://stm32-rs.github.io/stm32-rs/)
18
19#![allow(non_camel_case_types)]
20#![allow(non_snake_case)]
21#![no_std]
22
23mod generic;
24pub use self::generic::*;
25
26#[cfg(feature = "stm32g030")]
27pub mod stm32g030;
28
29#[cfg(feature = "stm32g031")]
30pub mod stm32g031;
31
32#[cfg(feature = "stm32g041")]
33pub mod stm32g041;
34
35#[cfg(feature = "stm32g050")]
36pub mod stm32g050;
37
38#[cfg(feature = "stm32g051")]
39pub mod stm32g051;
40
41#[cfg(feature = "stm32g061")]
42pub mod stm32g061;
43
44#[cfg(feature = "stm32g070")]
45pub mod stm32g070;
46
47#[cfg(feature = "stm32g071")]
48pub mod stm32g071;
49
50#[cfg(feature = "stm32g081")]
51pub mod stm32g081;
52
53#[cfg(feature = "stm32g0b0")]
54pub mod stm32g0b0;
55
56#[cfg(feature = "stm32g0b1")]
57pub mod stm32g0b1;
58
59#[cfg(feature = "stm32g0c1")]
60pub mod stm32g0c1;
61