Enum xmc4300::ppb::ccr::UnalignTrp
source · pub enum UnalignTrp {
Value1 = 0,
Value2 = 1,
}
Expand description
Unaligned Access Trap Enable
Value on reset: 0
Variants§
Value1 = 0
0: do not trap unaligned halfword and word accesses
Value2 = 1
1: trap unaligned halfword and word accesses.
Trait Implementations§
source§impl Clone for UnalignTrp
impl Clone for UnalignTrp
source§fn clone(&self) -> UnalignTrp
fn clone(&self) -> UnalignTrp
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 UnalignTrp
impl Debug for UnalignTrp
source§impl From<UnalignTrp> for bool
impl From<UnalignTrp> for bool
source§fn from(variant: UnalignTrp) -> Self
fn from(variant: UnalignTrp) -> Self
Converts to this type from the input type.
source§impl PartialEq for UnalignTrp
impl PartialEq for UnalignTrp
source§fn eq(&self, other: &UnalignTrp) -> bool
fn eq(&self, other: &UnalignTrp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UnalignTrp
impl Eq for UnalignTrp
impl StructuralPartialEq for UnalignTrp
Auto Trait Implementations§
impl RefUnwindSafe for UnalignTrp
impl Send for UnalignTrp
impl Sync for UnalignTrp
impl Unpin for UnalignTrp
impl UnwindSafe for UnalignTrp
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