Skip to main content

embedded_asyncdelay_rp2040/
lib.rs

1#![no_std]
2#![doc = include_str!("../README.md")]
3
4mod alarm;
5pub mod future;
6pub mod scheduler;
7mod sharedstate;
8
9// Export the scheduler as it's the main entry point for this crate
10pub use scheduler::DelayScheduler;
11
12// Re-export dependency crates
13pub extern crate critical_section;
14pub extern crate rp2040_hal;
15
16// Re-export private modules if necessary
17#[cfg(not(feature = "init16"))]
18#[doc(hidden)]
19pub use crate::sharedstate::{GlobalWakerSlots, WakerSlot};