#[repr(u8)]pub enum MiscCtrlRegDisableViolationAbort {
_RESERVED_0 = 0,
NO_ABORT = 1,
ABORT = 2,
_RESERVED_3 = 3,
}Variants§
_RESERVED_0 = 0
NO_ABORT = 1
The violation detected by the secure checker will not cause an abort, but a secure_violation_irq (interrupt request) will still be asserted and serviced by ISR.
ABORT = 2
The violation detected by the secure checker will cause an abort.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Clone for MiscCtrlRegDisableViolationAbort
impl Clone for MiscCtrlRegDisableViolationAbort
Source§fn clone(&self) -> MiscCtrlRegDisableViolationAbort
fn clone(&self) -> MiscCtrlRegDisableViolationAbort
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 From<MiscCtrlRegDisableViolationAbort> for u8
impl From<MiscCtrlRegDisableViolationAbort> for u8
Source§fn from(val: MiscCtrlRegDisableViolationAbort) -> u8
fn from(val: MiscCtrlRegDisableViolationAbort) -> u8
Converts to this type from the input type.
Source§impl From<u8> for MiscCtrlRegDisableViolationAbort
impl From<u8> for MiscCtrlRegDisableViolationAbort
Source§fn from(val: u8) -> MiscCtrlRegDisableViolationAbort
fn from(val: u8) -> MiscCtrlRegDisableViolationAbort
Converts to this type from the input type.
Source§impl Ord for MiscCtrlRegDisableViolationAbort
impl Ord for MiscCtrlRegDisableViolationAbort
Source§fn cmp(&self, other: &MiscCtrlRegDisableViolationAbort) -> Ordering
fn cmp(&self, other: &MiscCtrlRegDisableViolationAbort) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MiscCtrlRegDisableViolationAbort
impl PartialEq for MiscCtrlRegDisableViolationAbort
Source§fn eq(&self, other: &MiscCtrlRegDisableViolationAbort) -> bool
fn eq(&self, other: &MiscCtrlRegDisableViolationAbort) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MiscCtrlRegDisableViolationAbort
impl PartialOrd for MiscCtrlRegDisableViolationAbort
impl Copy for MiscCtrlRegDisableViolationAbort
impl Eq for MiscCtrlRegDisableViolationAbort
impl StructuralPartialEq for MiscCtrlRegDisableViolationAbort
Auto Trait Implementations§
impl Freeze for MiscCtrlRegDisableViolationAbort
impl RefUnwindSafe for MiscCtrlRegDisableViolationAbort
impl Send for MiscCtrlRegDisableViolationAbort
impl Sync for MiscCtrlRegDisableViolationAbort
impl Unpin for MiscCtrlRegDisableViolationAbort
impl UnwindSafe for MiscCtrlRegDisableViolationAbort
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