Enum cortex_m::peripheral::scb::VectActive
source · pub enum VectActive {
ThreadMode,
Exception(Exception),
Interrupt {
irqn: u8,
},
}
Expand description
Active exception number
Variants§
ThreadMode
Thread mode
Exception(Exception)
Processor core exception (internal interrupts)
Interrupt
Device specific exception (external interrupts)
Implementations§
Trait Implementations§
source§impl Clone for VectActive
impl Clone for VectActive
source§fn clone(&self) -> VectActive
fn clone(&self) -> VectActive
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 VectActive
impl Debug for VectActive
source§impl PartialEq for VectActive
impl PartialEq for VectActive
source§fn eq(&self, other: &VectActive) -> bool
fn eq(&self, other: &VectActive) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VectActive
impl Eq for VectActive
impl StructuralPartialEq for VectActive
Auto Trait Implementations§
impl Freeze for VectActive
impl RefUnwindSafe for VectActive
impl Send for VectActive
impl Sync for VectActive
impl Unpin for VectActive
impl UnwindSafe for VectActive
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