pub enum Trigger {
EdgeRising,
LevelHigh,
LevelLow,
}Expand description
Trigger semantics for an interrupt line.
Variants§
EdgeRising
Edge-rising; default for virtio-MMIO. FDT flag 1.
LevelHigh
Level-high; default for PL011 UART and timer PPIs. FDT flag 4.
LevelLow
Level-low. FDT flag 8.
Implementations§
Trait Implementations§
impl Copy for Trigger
impl Eq for Trigger
impl StructuralPartialEq for Trigger
Auto Trait Implementations§
impl Freeze for Trigger
impl RefUnwindSafe for Trigger
impl Send for Trigger
impl Sync for Trigger
impl Unpin for Trigger
impl UnsafeUnpin for Trigger
impl UnwindSafe for Trigger
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