Skip to main content

TimerExt

Trait TimerExt 

Source
pub trait TimerExt: Deref<Target = RegisterBlock> + Sized {
    const INTERRUPT: Interrupt;

    // Required method
    fn constrain(self) -> Timer<Self>;
}

Required Associated Constants§

Required Methods§

Source

fn constrain(self) -> Timer<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TimerExt for TIMER0

Source§

const INTERRUPT: Interrupt = Interrupt::TIMER0

Source§

fn constrain(self) -> Timer<Self>

Source§

impl TimerExt for TIMER1

Source§

const INTERRUPT: Interrupt = Interrupt::TIMER1

Source§

fn constrain(self) -> Timer<Self>

Source§

impl TimerExt for TIMER2

Source§

const INTERRUPT: Interrupt = Interrupt::TIMER2

Source§

fn constrain(self) -> Timer<Self>

Source§

impl TimerExt for TIMER3

Source§

const INTERRUPT: Interrupt = Interrupt::TIMER3

Source§

fn constrain(self) -> Timer<Self>

Source§

impl TimerExt for TIMER4

Source§

const INTERRUPT: Interrupt = Interrupt::TIMER4

Source§

fn constrain(self) -> Timer<Self>

Implementors§