[][src]Struct kernel::hil::gpio::InterruptValueWrapper

pub struct InterruptValueWrapper {
    value: Cell<u32>,
    client: OptionalCell<&'static dyn ClientWithValue>,
    source: &'static dyn InterruptPin,
}

Standard implementation of InterruptWithValue: handles an gpio::Client::fired and passes it up as a gpio::ClientWithValue::fired.

Fields

value: Cell<u32>client: OptionalCell<&'static dyn ClientWithValue>source: &'static dyn InterruptPin

Methods

impl InterruptValueWrapper[src]

pub fn new(pin: &'static dyn InterruptPin) -> InterruptValueWrapper[src]

pub fn finalize(&'static self) -> &'static Self[src]

Trait Implementations

impl Pin for InterruptValueWrapper[src]

impl InterruptValuePin for InterruptValueWrapper[src]

impl Configure for InterruptValueWrapper[src]

impl Output for InterruptValueWrapper[src]

impl Input for InterruptValueWrapper[src]

impl Client for InterruptValueWrapper[src]

impl InterruptWithValue for InterruptValueWrapper[src]

Auto Trait Implementations

impl Unpin for InterruptValueWrapper

impl !Send for InterruptValueWrapper

impl !Sync for InterruptValueWrapper

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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