Enum arm_gic::TriggerMode
source · pub enum TriggerMode {
Edge = 0,
Level = 1,
}
Expand description
Interrupt trigger mode.
Variants§
Edge = 0
Edge-triggered.
This is an interrupt that is asserted on detection of a rising edge of an interrupt signal and then, regardless of the state of the signal, remains asserted until it is cleared by the conditions defined by this specification.
Level = 1
Level-sensitive.
This is an interrupt that is asserted whenever the interrupt signal level is active, and deasserted whenever the level is not active.
Trait Implementations§
source§impl Clone for TriggerMode
impl Clone for TriggerMode
source§fn clone(&self) -> TriggerMode
fn clone(&self) -> TriggerMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TriggerMode
impl Debug for TriggerMode
source§impl PartialEq for TriggerMode
impl PartialEq for TriggerMode
source§fn eq(&self, other: &TriggerMode) -> bool
fn eq(&self, other: &TriggerMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TriggerMode
impl Eq for TriggerMode
impl StructuralEq for TriggerMode
impl StructuralPartialEq for TriggerMode
Auto Trait Implementations§
impl RefUnwindSafe for TriggerMode
impl Send for TriggerMode
impl Sync for TriggerMode
impl Unpin for TriggerMode
impl UnwindSafe for TriggerMode
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