aboutsummaryrefslogtreecommitdiff
path: root/embassy-hal-internal/src/lib.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-07-28 13:23:22 +0200
committerGitHub <[email protected]>2023-07-28 13:23:22 +0200
commit036e6ae30c9e772ef8ef20439f121e108b9106f0 (patch)
tree7c654de04304274a11d44733b51c5012aeec9e3c /embassy-hal-internal/src/lib.rs
parent0ced8400d00da30abe76438ef26224c7ed649708 (diff)
Rename embassy-hal-common to embassy-hal-internal, document it's for internal use only. (#1700)
Diffstat (limited to 'embassy-hal-internal/src/lib.rs')
-rw-r--r--embassy-hal-internal/src/lib.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/embassy-hal-internal/src/lib.rs b/embassy-hal-internal/src/lib.rs
new file mode 100644
index 000000000..3640ea184
--- /dev/null
+++ b/embassy-hal-internal/src/lib.rs
@@ -0,0 +1,17 @@
1#![no_std]
2#![allow(clippy::new_without_default)]
3#![doc = include_str!("../README.md")]
4
5// This mod MUST go first, so that the others see its macros.
6pub(crate) mod fmt;
7
8pub mod atomic_ring_buffer;
9pub mod drop;
10mod macros;
11mod peripheral;
12pub mod ratio;
13pub mod ring_buffer;
14pub use peripheral::{Peripheral, PeripheralRef};
15
16#[cfg(feature = "cortex-m")]
17pub mod interrupt;