Enum xmc4800::ppb::cfsr::Undefinstr
source · pub enum Undefinstr {
Value1 = 0,
Value2 = 1,
}
Expand description
Undefined instruction UsageFault
Value on reset: 0
Variants§
Value1 = 0
0: no undefined instruction UsageFault
Value2 = 1
1: the processor has attempted to execute an undefined instruction.
Trait Implementations§
source§impl Clone for Undefinstr
impl Clone for Undefinstr
source§fn clone(&self) -> Undefinstr
fn clone(&self) -> Undefinstr
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 Undefinstr
impl Debug for Undefinstr
source§impl From<Undefinstr> for bool
impl From<Undefinstr> for bool
source§fn from(variant: Undefinstr) -> Self
fn from(variant: Undefinstr) -> Self
Converts to this type from the input type.
source§impl PartialEq for Undefinstr
impl PartialEq for Undefinstr
source§fn eq(&self, other: &Undefinstr) -> bool
fn eq(&self, other: &Undefinstr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Undefinstr
impl Eq for Undefinstr
impl StructuralPartialEq for Undefinstr
Auto Trait Implementations§
impl RefUnwindSafe for Undefinstr
impl Send for Undefinstr
impl Sync for Undefinstr
impl Unpin for Undefinstr
impl UnwindSafe for Undefinstr
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