Struct lpc55_hal::drivers::timer::Timer[][src]

pub struct Timer<TIMER> where
    TIMER: Ctimer<Enabled>, 
{ /* fields omitted */ }

Implementations

impl<TIMER> Timer<TIMER> where
    TIMER: Ctimer<Enabled>, 
[src]

pub fn new(timer: TIMER) -> Self[src]

pub fn release(self) -> TIMER[src]

Trait Implementations

impl<TIMER> Cancel for Timer<TIMER> where
    TIMER: Ctimer<Enabled>, 
[src]

type Error = Infallible

Error returned when a countdown can’t be canceled.

impl<TIMER> CountDown for Timer<TIMER> where
    TIMER: Ctimer<Enabled>, 
[src]

type Time = Microseconds

The unit of time used by this timer

impl<TIMER> Lap<Microseconds<u32>> for Timer<TIMER> where
    TIMER: Ctimer<Enabled>, 
[src]

Auto Trait Implementations

impl<TIMER> Send for Timer<TIMER> where
    TIMER: Send

impl<TIMER> Sync for Timer<TIMER> where
    TIMER: Sync

impl<TIMER> Unpin for Timer<TIMER> where
    TIMER: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.