Enum atsame54n::tcc0::fctrla::HALTSELECT_A
source · #[repr(u8)]pub enum HALTSELECT_A {
DISABLE = 0,
HW = 1,
SW = 2,
NR = 3,
}
Expand description
Fault A Halt Mode
Value on reset: 0
Variants§
DISABLE = 0
0: Halt action disabled
HW = 1
1: Hardware halt action
SW = 2
2: Software halt action
NR = 3
3: Non-recoverable fault
Trait Implementations§
source§impl Clone for HALTSELECT_A
impl Clone for HALTSELECT_A
source§fn clone(&self) -> HALTSELECT_A
fn clone(&self) -> HALTSELECT_A
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 HALTSELECT_A
impl Debug for HALTSELECT_A
source§impl From<HALTSELECT_A> for u8
impl From<HALTSELECT_A> for u8
source§fn from(variant: HALTSELECT_A) -> Self
fn from(variant: HALTSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for HALTSELECT_A
impl PartialEq for HALTSELECT_A
source§fn eq(&self, other: &HALTSELECT_A) -> bool
fn eq(&self, other: &HALTSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HALTSELECT_A
impl Eq for HALTSELECT_A
impl StructuralPartialEq for HALTSELECT_A
Auto Trait Implementations§
impl Freeze for HALTSELECT_A
impl RefUnwindSafe for HALTSELECT_A
impl Send for HALTSELECT_A
impl Sync for HALTSELECT_A
impl Unpin for HALTSELECT_A
impl UnwindSafe for HALTSELECT_A
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