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
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