[][src]Struct msp430fr2x5x_hal::capture::Capture

pub struct Capture<T: CapCmp<C>, C>(_, _);

Single capture pin with its own capture register

Implementations

impl<T: CapCmp<C>, C> Capture<T, C>[src]

pub fn enable_interrupts(&mut self)[src]

Enable capture interrupts

pub fn disable_interrupts(&mut self)[src]

Disable capture interrupts

Trait Implementations

impl<T: CapCmp<C>, C> CapturePin for Capture<T, C>[src]

type Capture = u16

Type of value returned by capture

type Error = OverCapture

Enumeration of Capture errors Read more

Auto Trait Implementations

impl<T, C> Send for Capture<T, C> where
    C: Send,
    T: Send
[src]

impl<T, C> Sync for Capture<T, C> where
    C: Sync,
    T: Sync
[src]

impl<T, C> Unpin for Capture<T, C> where
    C: Unpin,
    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.