[][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.


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


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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> BorrowMut<T> for T where
    T: ?Sized

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