Trait nrf52840_hal::timer::Instance [−][src]
pub trait Instance: Sealed { const INTERRUPT: Interrupt; fn as_timer0(&self) -> &RegisterBlock; fn timer_start<Time>(&self, cycles: Time)
where
Time: Into<u32>, { ... } fn timer_reset_event(&self) { ... } fn timer_cancel(&self) { ... } fn timer_running(&self) -> bool { ... } fn read_counter(&self) -> u32 { ... } fn disable_interrupt(&self) { ... } fn enable_interrupt(&self) { ... } fn set_shorts_periodic(&self) { ... } fn set_shorts_oneshot(&self) { ... } fn set_periodic(&self) { ... } fn set_oneshot(&self) { ... } }
Expand description
Implemented by all TIMER* instances.