Trait mnemos_d1_core::timer::sealed::TimerSealed

source ·
pub trait TimerSealed {
    // Required methods
    fn ctrl(&self) -> &Reg<TMR_CTRL_SPEC>;
    fn interval(&self) -> &Reg<TMR_INTV_VALUE_SPEC>;
    fn value(&self) -> &Reg<TMR_CUR_VALUE_SPEC>;
    fn set_interrupt_en(&self, enabled: bool);
    fn get_and_clear_interrupt(&self) -> bool;
}

Required Methods§

Implementors§