[][src]Struct msp430fr2x5x_hal::timer::Timer

pub struct Timer<T: TimerPeriph>(_);

Main periodic countdown timer

Implementations

impl<T: TimerPeriph> Timer<T>[src]

pub fn enable_interrupts(&mut self)[src]

Enable timer countdown expiration interrupts

pub fn disable_interrupts(&mut self)[src]

Disable timer countdown expiration interrupts

Trait Implementations

impl<T: TimerPeriph + CapCmp<CCR0>> Cancel for Timer<T>[src]

type Error = Void

Error returned when a countdown can't be canceled.

impl<T: TimerPeriph + CapCmp<CCR0>> CountDown for Timer<T>[src]

type Time = u16

The unit of time used by this timer

impl<T: TimerPeriph> Periodic for Timer<T>[src]

Auto Trait Implementations

impl<T> Send for Timer<T> where
    T: Send
[src]

impl<T> Sync for Timer<T> where
    T: Sync
[src]

impl<T> Unpin for Timer<T> where
    T: Unpin
[src]

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, 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.