pub struct InterruptHandler<C: Channel> { /* private fields */ }Expand description
EXTI interrupt handler for one EXTI channel.
Bind one handler per channel used with ExtiInput<Async>, on that channel’s
interrupt vector (Channel::IRQ). On chips where several channels share a vector, list one
handler per channel:
ⓘ
bind_interrupts!(struct Irqs {
EXTI15_10 => exti::InterruptHandler<peripherals::EXTI10>, exti::InterruptHandler<peripherals::EXTI13>;
});The handler only services its own channel, so the same vector can also be bound to your own
Handler for channels used with ExtiInput<Blocking>.
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for InterruptHandler<C>where
PhantomData<C>: Freeze,
impl<C> RefUnwindSafe for InterruptHandler<C>where
PhantomData<C>: RefUnwindSafe,
impl<C> Send for InterruptHandler<C>where
PhantomData<C>: Send,
impl<C> Sync for InterruptHandler<C>where
PhantomData<C>: Sync,
impl<C> Unpin for InterruptHandler<C>where
PhantomData<C>: Unpin,
impl<C> UnsafeUnpin for InterruptHandler<C>where
PhantomData<C>: UnsafeUnpin,
impl<C> UnwindSafe for InterruptHandler<C>where
PhantomData<C>: 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