Enum nrf52840_hal::target::power::mainregstatus::MAINREGSTATUSR
source · pub enum MAINREGSTATUSR {
NORMAL,
HIGH,
}
Expand description
Possible values of the field MAINREGSTATUS
Variants
NORMAL
Normal voltage mode. Voltage supplied on VDD.
HIGH
High voltage mode. Voltage supplied on VDDH.
Implementations
sourceimpl MAINREGSTATUSR
impl MAINREGSTATUSR
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
Trait Implementations
sourceimpl Clone for MAINREGSTATUSR
impl Clone for MAINREGSTATUSR
sourcefn clone(&self) -> MAINREGSTATUSR
fn clone(&self) -> MAINREGSTATUSR
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MAINREGSTATUSR
impl Debug for MAINREGSTATUSR
sourceimpl PartialEq<MAINREGSTATUSR> for MAINREGSTATUSR
impl PartialEq<MAINREGSTATUSR> for MAINREGSTATUSR
sourcefn eq(&self, other: &MAINREGSTATUSR) -> bool
fn eq(&self, other: &MAINREGSTATUSR) -> bool
impl Copy for MAINREGSTATUSR
impl StructuralPartialEq for MAINREGSTATUSR
Auto Trait Implementations
impl RefUnwindSafe for MAINREGSTATUSR
impl Send for MAINREGSTATUSR
impl Sync for MAINREGSTATUSR
impl Unpin for MAINREGSTATUSR
impl UnwindSafe for MAINREGSTATUSR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more