stm32l4_stm32hal/lib.rs
1//! Peripheral access API for STM32L4 microcontrollers
2//! (generated using [svd2rust](https://github.com/rust-embedded/svd2rust)
3//! 0.17.0)
4//!
5//! You can find an overview of the API here:
6//! [svd2rust/#peripheral-api](https://docs.rs/svd2rust/0.17.0/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://github.com/stm32-rs/stm32-rs/tree/master/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#![no_std]
21
22mod generic;
23pub use self::generic::*;
24
25#[cfg(feature = "stm32l412")]
26pub mod stm32l412;
27
28#[cfg(feature = "stm32l4r9")]
29pub mod stm32l4r9;
30
31#[cfg(feature = "stm32l4x1")]
32pub mod stm32l4x1;
33
34#[cfg(feature = "stm32l4x2")]
35pub mod stm32l4x2;
36
37#[cfg(feature = "stm32l4x3")]
38pub mod stm32l4x3;
39
40#[cfg(feature = "stm32l4x5")]
41pub mod stm32l4x5;
42
43#[cfg(feature = "stm32l4x6")]
44pub mod stm32l4x6;
45