pub enum MAINREGSTATUS_A {
NORMAL = 0,
HIGH = 1,
}
Expand description
Main supply status
Value on reset: 0
Variants§
NORMAL = 0
0: Normal voltage mode. Voltage supplied on VDD.
HIGH = 1
1: High voltage mode. Voltage supplied on VDDH.
Trait Implementations§
source§impl Clone for MAINREGSTATUS_A
impl Clone for MAINREGSTATUS_A
source§fn clone(&self) -> MAINREGSTATUS_A
fn clone(&self) -> MAINREGSTATUS_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 MAINREGSTATUS_A
impl Debug for MAINREGSTATUS_A
source§impl From<MAINREGSTATUS_A> for bool
impl From<MAINREGSTATUS_A> for bool
source§fn from(variant: MAINREGSTATUS_A) -> Self
fn from(variant: MAINREGSTATUS_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for MAINREGSTATUS_A
impl PartialEq for MAINREGSTATUS_A
impl Copy for MAINREGSTATUS_A
impl StructuralPartialEq for MAINREGSTATUS_A
Auto Trait Implementations§
impl Freeze for MAINREGSTATUS_A
impl RefUnwindSafe for MAINREGSTATUS_A
impl Send for MAINREGSTATUS_A
impl Sync for MAINREGSTATUS_A
impl Unpin for MAINREGSTATUS_A
impl UnwindSafe for MAINREGSTATUS_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)