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.

Associated Constants

This interrupt associated with this RTC instance.

Required methods

Provided methods

Implementors