pub enum InterruptPolarity {
ConformsToBus,
ActiveHigh,
Reserved,
ActiveLow,
}
Expand description
Under what condition the interrupt is triggered
Variants§
ConformsToBus
Conforms to the specification of the bus
ActiveHigh
Active high - the interrupt is triggered while the line is on
Reserved
Reserved
ActiveLow
Active low - the interrupt is triggered while the line is off
Trait Implementations§
Source§impl Clone for InterruptPolarity
impl Clone for InterruptPolarity
Source§fn clone(&self) -> InterruptPolarity
fn clone(&self) -> InterruptPolarity
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 InterruptPolarity
impl Debug for InterruptPolarity
Source§impl PartialEq for InterruptPolarity
impl PartialEq for InterruptPolarity
impl Copy for InterruptPolarity
impl Eq for InterruptPolarity
impl StructuralPartialEq for InterruptPolarity
Auto Trait Implementations§
impl Freeze for InterruptPolarity
impl RefUnwindSafe for InterruptPolarity
impl Send for InterruptPolarity
impl Sync for InterruptPolarity
impl Unpin for InterruptPolarity
impl UnwindSafe for InterruptPolarity
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