embassy/embassy-embedded-hal/src/lib.rs
2022-07-10 00:58:05 +02:00

12 lines
297 B
Rust

#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(feature = "nightly", feature(generic_associated_types, type_alias_impl_trait))]
#[cfg(feature = "nightly")]
pub mod adapter;
pub mod shared_bus;
pub trait SetConfig {
type Config;
fn set_config(&mut self, config: &Self::Config);
}