Module prelude

Source
Expand description

Common definitions and traits for using the STM32 monotonics

Re-exports§

pub use fugit;

Macros§

stm32_tim2_monotonic
Create a TIM2 based monotonic and register the TIM2 interrupt for it.
stm32_tim3_monotonic
Create a TIM3 based monotonic and register the TIM3 interrupt for it.
stm32_tim4_monotonic
Create a TIM4 based monotonic and register the TIM4 interrupt for it.
stm32_tim5_monotonic
Create a TIM5 based monotonic and register the TIM5 interrupt for it.
stm32_tim15_monotonic
Create a TIM15 based monotonic and register the TIM15 interrupt for it.

Traits§

ExtU64
Extension trait for simple short-hands for u64 Durations
ExtU64Ceil
Extension trait for simple short-hands for u64 Durations (ceil rounded)
Monotonic
A monotonic clock / counter definition.