embassy/embassy-hal-internal/src/lib.rs

17 lines
356 B
Rust
Raw Normal View History

2021-03-08 00:15:40 +01:00
#![no_std]
2021-10-18 00:55:43 +02:00
#![allow(clippy::new_without_default)]
#![doc = include_str!("../README.md")]
2021-03-08 00:15:40 +01:00
// 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;
2021-09-02 10:46:49 +02:00
pub mod ratio;
pub use peripheral::{Peripheral, PeripheralRef};
#[cfg(feature = "cortex-m")]
pub mod interrupt;