Enum nrf52832::uicr::Regulator0Output
source · pub enum Regulator0Output {
V1_8 = 0,
V2_1 = 1,
V2_4 = 2,
V2_7 = 3,
V3_0 = 4,
V3_3 = 5,
DEFAULT = 7,
}
Expand description
Output voltage from REG0 regulator stage. The value is board dependent (e.g. the nRF52840dk board uses 1.8V whereas the nRF52840-Dongle requires 3.0V to light its LEDs). When a chip is out of the factory or fully erased, the default value (7) will output 1.8V.
Variants§
Trait Implementations§
source§impl Clone for Regulator0Output
impl Clone for Regulator0Output
source§fn clone(&self) -> Regulator0Output
fn clone(&self) -> Regulator0Output
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 From<u32> for Regulator0Output
impl From<u32> for Regulator0Output
source§fn from(val: u32) -> Regulator0Output
fn from(val: u32) -> Regulator0Output
Converts to this type from the input type.
source§impl PartialEq for Regulator0Output
impl PartialEq for Regulator0Output
source§fn eq(&self, other: &Regulator0Output) -> bool
fn eq(&self, other: &Regulator0Output) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Regulator0Output
impl StructuralPartialEq for Regulator0Output
Auto Trait Implementations§
impl Freeze for Regulator0Output
impl RefUnwindSafe for Regulator0Output
impl Send for Regulator0Output
impl Sync for Regulator0Output
impl Unpin for Regulator0Output
impl UnwindSafe for Regulator0Output
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)