stm32builder/
lib.rs

1//! This crate provides tools to help building stm32 micro-controller hardware abstraction layer.
2
3// NOTE: Re-export our main API entry point for convenience.
4#[cfg(feature = "render")]
5pub use crate::api::render::{render, Context};
6pub use crate::device::Device;
7pub use crate::types::DeviceId;
8
9// Input and output
10pub mod device;
11pub mod device_info;
12pub mod gpio;
13pub mod gpio_bank;
14pub mod gpio_pin;
15pub mod peripheral_bus;
16pub mod peripherals;
17pub mod rcc;
18
19// Internal use
20pub mod api;
21mod helpers;
22pub mod types;
23
24// Testing data
25#[cfg(test)]
26mod tests;