Type Definition r3_core::kernel::timer::StaticTimer
source · pub type StaticTimer<System> = TimerRef<'static, System>;
Expand description
A static handle type: TimerRef
<'static, System>
This type is ABI-compatible with System::
RawTimerId
. It’s
logically equivalent to &'static Timer
but instead stores
RawTimerId
directly.
See Timer
for the owned counterpart and the description
of this kernel object.
See TimerMethods
for the operations provided by this handle
type.
Implementations§
source§impl<System: KernelTimer> StaticTimer<System>
impl<System: KernelTimer> StaticTimer<System>
sourcepub const fn define() -> TimerDefiner<System>
pub const fn define() -> TimerDefiner<System>
Construct a TimerDefiner
to define a timer in a
configuration function.