Trait mnemos_d1_core::timer::Timer
source · pub trait Timer: TimerSealed {
// Provided methods
fn set_source(&mut self, variant: TimerSource) { ... }
fn set_prescaler(&mut self, variant: TimerPrescaler) { ... }
fn set_mode(&mut self, variant: TimerMode) { ... }
fn stop(&mut self) { ... }
fn start_counter(&mut self, interval: u32) { ... }
fn current_value(&self) -> u32 { ... }
fn get_and_clear_interrupt(&self) -> bool { ... }
fn set_interrupt_en(&self, enabled: bool) { ... }
}