pub struct Eic<I = NoneT> { /* private fields */ }
Expand description
External Interrupt Controller.
Use split
to split the struct into individual channels,
which can then be used to create ExtInt
s, by calling
Channel::with_pin
.
Implementations§
Source§impl Eic
impl Eic
Sourcepub fn into_future<I>(self, _irq: I) -> Eic<EicFuture>
pub fn into_future<I>(self, _irq: I) -> Eic<EicFuture>
Turn an EIC pin into a pin usable as a Future
.
The correct interrupt source is needed.
Source§impl Eic
impl Eic
Auto Trait Implementations§
impl<I> Freeze for Eic<I>
impl<I> RefUnwindSafe for Eic<I>where
I: RefUnwindSafe,
impl<I> Send for Eic<I>where
I: Send,
impl<I = NoneT> !Sync for Eic<I>
impl<I> Unpin for Eic<I>where
I: Unpin,
impl<I> UnwindSafe for Eic<I>where
I: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more