pub enum InterruptTriggerMode {
ConformsToBus,
EdgeTriggered,
Reserved,
LevelTriggered,
}
Expand description
How often the interrupt is triggered while the condition is met
Variants§
ConformsToBus
Conforms to the specification of the bus
EdgeTriggered
The interrupt is triggered once when the condition becomes true
Reserved
Reserved
LevelTriggered
The interrupt is triggered continuously while the condition is true
Trait Implementations§
Source§impl Clone for InterruptTriggerMode
impl Clone for InterruptTriggerMode
Source§fn clone(&self) -> InterruptTriggerMode
fn clone(&self) -> InterruptTriggerMode
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 InterruptTriggerMode
impl Debug for InterruptTriggerMode
Source§impl PartialEq for InterruptTriggerMode
impl PartialEq for InterruptTriggerMode
impl Copy for InterruptTriggerMode
impl Eq for InterruptTriggerMode
impl StructuralPartialEq for InterruptTriggerMode
Auto Trait Implementations§
impl Freeze for InterruptTriggerMode
impl RefUnwindSafe for InterruptTriggerMode
impl Send for InterruptTriggerMode
impl Sync for InterruptTriggerMode
impl Unpin for InterruptTriggerMode
impl UnwindSafe for InterruptTriggerMode
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