Module prelude

Source
Expand description

Common definitions and traits for using the nRF Timer monotonics

Re-exports§

pub use fugit;

Macros§

nrf_timer0_monotonic
Create an Timer0 based monotonic and register the TIMER0 interrupt for it.
nrf_timer1_monotonic
Create an Timer1 based monotonic and register the TIMER1 interrupt for it.
nrf_timer2_monotonic
Create an Timer2 based monotonic and register the TIMER2 interrupt for it.
nrf_timer3_monotonic
Create an Timer3 based monotonic and register the TIMER3 interrupt for it.
nrf_timer4_monotonic
Create an Timer4 based monotonic and register the TIMER4 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.