Skip to main content

register_hard_restartable_kernel_timer

Function register_hard_restartable_kernel_timer 

Source
pub fn register_hard_restartable_kernel_timer(
    deadline: MonotonicDeadline,
    callback: HardKernelTimerCallback,
) -> Result<HardKernelTimerHandle, TaskError>
Expand description

Registers a stable callback with explicit hard-IRQ expiry semantics.

The callback capability carries the caller’s proof that invocation is bounded and hard-IRQ-safe. Completion or cancellation drops its payload in task context; returning crate::time::hard_timer::HardKernelTimerAction::Rearm preserves the same timer identity and physical clockevent owner.