kernel::hil::buzzer

Trait BuzzerClient

Source
pub trait BuzzerClient {
    // Required method
    fn buzzer_done(&self, status: Result<(), ErrorCode>);
}

Required Methods§

Source

fn buzzer_done(&self, status: Result<(), ErrorCode>)

Called when the current sound played by the buzzer has finished or it was stopped.

Implementors§