#[repr(u32)]pub enum Line {
Nmi = 1,
Ext1 = 2,
Ext2 = 4,
Ext3 = 8,
Ext4 = 16,
Ext5 = 32,
Ext6 = 64,
Ext7 = 128,
Ext8 = 256,
}
Expand description
The sam4l chip supports 9 external interrupt lines: Ext1 - Ext8 and an additional Non-Maskable Interrupt (NMI) pin.
NMI has the same properties as the other external interrupts, but is connected to the NMI request of the CPU, enabling it to interrupt any other interrupt mode.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Line
impl RefUnwindSafe for Line
impl Send for Line
impl Sync for Line
impl Unpin for Line
impl UnwindSafe for Line
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