Enum atsamd51p::supc::bod33::ACTIONSELECT_A
source · #[repr(u8)]pub enum ACTIONSELECT_A {
NONE = 0,
RESET = 1,
INT = 2,
BKUP = 3,
}
Expand description
Action when Threshold Crossed
Value on reset: 0
Variants§
NONE = 0
0: No action
RESET = 1
1: The BOD33 generates a reset
INT = 2
2: The BOD33 generates an interrupt
BKUP = 3
3: The BOD33 puts the device in backup sleep mode
Trait Implementations§
source§impl Clone for ACTIONSELECT_A
impl Clone for ACTIONSELECT_A
source§fn clone(&self) -> ACTIONSELECT_A
fn clone(&self) -> ACTIONSELECT_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 ACTIONSELECT_A
impl Debug for ACTIONSELECT_A
source§impl From<ACTIONSELECT_A> for u8
impl From<ACTIONSELECT_A> for u8
source§fn from(variant: ACTIONSELECT_A) -> Self
fn from(variant: ACTIONSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for ACTIONSELECT_A
impl PartialEq for ACTIONSELECT_A
source§fn eq(&self, other: &ACTIONSELECT_A) -> bool
fn eq(&self, other: &ACTIONSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ACTIONSELECT_A
impl Eq for ACTIONSELECT_A
impl StructuralPartialEq for ACTIONSELECT_A
Auto Trait Implementations§
impl Freeze for ACTIONSELECT_A
impl RefUnwindSafe for ACTIONSELECT_A
impl Send for ACTIONSELECT_A
impl Sync for ACTIONSELECT_A
impl Unpin for ACTIONSELECT_A
impl UnwindSafe for ACTIONSELECT_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