embedded_hal_bus/i2c/mod.rs
1//! `I2c` shared bus implementations.
2
3mod refcell;
4pub use refcell::*;
5#[cfg(feature = "std")]
6mod mutex;
7#[cfg(feature = "std")]
8pub use mutex::*;
9mod critical_section;
10pub use self::critical_section::*;
11#[cfg(any(feature = "portable-atomic", target_has_atomic = "8"))]
12mod atomic;
13#[cfg(any(feature = "portable-atomic", target_has_atomic = "8"))]
14pub use atomic::*;
15
16#[cfg(feature = "alloc")]
17mod rc;
18#[cfg(feature = "alloc")]
19pub use rc::*;