Trait kernel::hil::time::AlarmClient

source ·
pub trait AlarmClient {
    // Required method
    fn alarm(&self);
}
Expand description

Callback handler for when an Alarm fires (a Counter reaches a specific value).

Required Methods§

source

fn alarm(&self)

Callback indicating the alarm time has been reached. The alarm MUST be disabled when this is called. If a new alarm is needed, the client can call Alarm::set_alarm.

Implementors§