pub trait TimerSource: Sealed + 'static {
// Required method
fn timer(self) -> OneShotTimer<'static, Blocking>;
}Expand description
Timers that can be used as time drivers.
This trait is meant to be used only for the start function.
Required Methods§
Implementations on Foreign Types§
Source§impl TimerSource for Alarm<'static>
Available on systimer_driver_supported only.
impl TimerSource for Alarm<'static>
Available on
systimer_driver_supported only.Source§impl TimerSource for AnyTimer<'static>
impl TimerSource for AnyTimer<'static>
Source§impl TimerSource for OneShotTimer<'static, Blocking>
impl TimerSource for OneShotTimer<'static, Blocking>
Source§impl TimerSource for Timer<'static>
Available on timergroup_driver_supported only.
impl TimerSource for Timer<'static>
Available on
timergroup_driver_supported only.