Expand description
Traits used to adapter different embedded RTOS.
See OsInterface
§Cargo Features
std: Used for unit test. Disabled by default.
Re-exports§
pub use mutex_impls::FakeRawMutex;pub use mutex_impls::Mutex;pub use os_impls::FakeOs;pub use os_impls::StdOs;pub use embedded_hal;pub use fugit;pub use mutex_traits;pub use timeout_trait;pub use notifier_impls::*;
Modules§
- delay_
impls - embedded_
hal - crates.io crates.io Documentation Minimum Supported Rust Version
- fake_
impls - fugit
fugitprovides a comprehensive library ofDurationandInstantfor the handling of time in embedded systems. The library is specifically designed to maximize const-ification which allows for most comparisons and changes of time-base to be made at compile time, rather than run time.- mutex_
impls - notifier
- notifier_
impls - os_
impls - prelude
- std_
impls - tick_
impl
Structs§
- Fake
Instant - Tick
Delay DelayNsimplementation- Tick
Timeout Ns - Tick
Timeout State
Traits§
- Const
Init - Const Init Trait
- OsInterface
- Adapter for different operating systems.
- RawMutex
- Raw mutex trait.
- Tick
Instant - Timeout
Ns - Timeout
State
Type Aliases§
- Fake
Timeout Ns - Fake
Timeout State - Kilohertz
U32 - Alias for kilohertz rate (
u32backing storage) - Micros
Duration U32 - Alias for microsecond duration (
u32backing storage)