2021-03-08 00:15:40 +01:00
|
|
|
#![no_std]
|
2021-10-18 00:55:43 +02:00
|
|
|
#![allow(clippy::new_without_default)]
|
2021-03-08 00:15:40 +01:00
|
|
|
|
|
|
|
// This mod MUST go first, so that the others see its macros.
|
|
|
|
pub(crate) mod fmt;
|
|
|
|
|
2022-11-07 00:27:21 +01:00
|
|
|
pub mod atomic_ring_buffer;
|
2021-09-11 01:53:53 +02:00
|
|
|
pub mod drop;
|
2021-03-21 20:57:49 +01:00
|
|
|
mod macros;
|
2022-07-23 14:00:19 +02:00
|
|
|
mod peripheral;
|
2021-09-02 10:46:49 +02:00
|
|
|
pub mod ratio;
|
2021-01-03 01:40:40 +01:00
|
|
|
pub mod ring_buffer;
|
2022-07-23 14:00:19 +02:00
|
|
|
pub use peripheral::{Peripheral, PeripheralRef};
|
2023-06-09 16:14:13 +02:00
|
|
|
|
|
|
|
#[cfg(feature = "cortex-m")]
|
|
|
|
pub mod interrupt;
|