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.
7pub(crate) mod fmt;
8
9pub mod atomic_ring_buffer;
10pub mod drop;
11mod macros;
12mod peripheral;
13pub mod ratio;
14pub use peripheral::{Peripheral, PeripheralRef};
15
16#[cfg(feature = "cortex-m")]
17pub mod interrupt;
18