pub enum UnalignTrpselect {
Value0 = 0,
Value1 = 1,
}
Expand description
Enables unaligned access traps
Value on reset: 0
Variants§
Value0 = 0
0: Do not trap unaligned halfword and word accesses
Value1 = 1
1: Trap unaligned halfword and word accesses
Trait Implementations§
Source§impl Clone for UnalignTrpselect
impl Clone for UnalignTrpselect
Source§fn clone(&self) -> UnalignTrpselect
fn clone(&self) -> UnalignTrpselect
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 UnalignTrpselect
impl Debug for UnalignTrpselect
Source§impl From<UnalignTrpselect> for bool
impl From<UnalignTrpselect> for bool
Source§fn from(variant: UnalignTrpselect) -> Self
fn from(variant: UnalignTrpselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UnalignTrpselect
impl PartialEq for UnalignTrpselect
impl Copy for UnalignTrpselect
impl Eq for UnalignTrpselect
impl StructuralPartialEq for UnalignTrpselect
Auto Trait Implementations§
impl Freeze for UnalignTrpselect
impl RefUnwindSafe for UnalignTrpselect
impl Send for UnalignTrpselect
impl Sync for UnalignTrpselect
impl Unpin for UnalignTrpselect
impl UnwindSafe for UnalignTrpselect
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