aboutsummaryrefslogtreecommitdiff
path: root/embassy-hal-common/src/lib.rs
blob: 235964aa404f4425e7845346e7424d353fa2d29f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![no_std]
#![allow(clippy::new_without_default)]

// This mod MUST go first, so that the others see its macros.
pub(crate) mod fmt;

pub mod atomic_ring_buffer;
pub mod drop;
mod macros;
mod peripheral;
pub mod ratio;
pub mod ring_buffer;
pub use peripheral::{Peripheral, PeripheralRef};

#[cfg(feature = "cortex-m")]
pub mod interrupt;