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