stm32l4/lib.rs
1//! Peripheral access API for STM32L4 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 STM32L4 devices; for the complete list please
12//! see:
13//! [stm32l4](https://crates.io/crates/stm32l4)
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 = "stm32l412")]
27pub mod stm32l412;
28
29#[cfg(feature = "stm32l4p5")]
30pub mod stm32l4p5;
31
32#[cfg(feature = "stm32l4r5")]
33pub mod stm32l4r5;
34
35#[cfg(feature = "stm32l4r9")]
36pub mod stm32l4r9;
37
38#[cfg(feature = "stm32l4x1")]
39pub mod stm32l4x1;
40
41#[cfg(feature = "stm32l4x2")]
42pub mod stm32l4x2;
43
44#[cfg(feature = "stm32l4x3")]
45pub mod stm32l4x3;
46
47#[cfg(feature = "stm32l4x5")]
48pub mod stm32l4x5;
49
50#[cfg(feature = "stm32l4x6")]
51pub mod stm32l4x6;
52