pub enum InterruptRoute {
Disabled = 0,
Int1 = 1,
Int2 = 2,
Ibi = 3,
}Expand description
Mapping destination for an interrupt source.
Variants§
Disabled = 0
Do not route the interrupt source anywhere.
Int1 = 1
Route the source to INT1.
Int2 = 2
Route the source to INT2.
Ibi = 3
Route the source to I3C in-band interrupt.
Trait Implementations§
Source§impl Clone for InterruptRoute
impl Clone for InterruptRoute
Source§fn clone(&self) -> InterruptRoute
fn clone(&self) -> InterruptRoute
Returns a duplicate 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 InterruptRoute
impl Debug for InterruptRoute
Source§impl Format for InterruptRoute
impl Format for InterruptRoute
Source§impl From<InterruptRoute> for u16
impl From<InterruptRoute> for u16
Source§fn from(value: InterruptRoute) -> Self
fn from(value: InterruptRoute) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InterruptRoute
impl PartialEq for InterruptRoute
impl Copy for InterruptRoute
impl Eq for InterruptRoute
impl StructuralPartialEq for InterruptRoute
Auto Trait Implementations§
impl Freeze for InterruptRoute
impl RefUnwindSafe for InterruptRoute
impl Send for InterruptRoute
impl Sync for InterruptRoute
impl Unpin for InterruptRoute
impl UnsafeUnpin for InterruptRoute
impl UnwindSafe for InterruptRoute
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