1 | #![no_std] |
---|---|
2 | #![allow(clippy::new_without_default)] |
3 | #![doc= include_str!( "../README.md")] |
4 | #![warn(missing_docs)] |
5 | |
6 | // This mod MUST go first, so that the others see its macros. |
7 | pub(crate) mod fmt; |
8 | |
9 | pub mod atomic_ring_buffer; |
10 | pub mod drop; |
11 | mod macros; |
12 | mod peripheral; |
13 | pub mod ratio; |
14 | pub use peripheral::{Peripheral, PeripheralRef}; |
15 | |
16 | #[cfg(feature = "cortex-m")] |
17 | pub mod interrupt; |
18 |