Enum efm32gg11b_pac::efm32gg11b840::emu::dcdcctrl::DCDCMODE_A
source · #[repr(u8)]
pub enum DCDCMODE_A {
BYPASS,
LOWNOISE,
LOWPOWER,
OFF,
}
Expand description
Regulator Mode
Value on reset: 3
Variants§
BYPASS
0: DCDC regulator is operating in bypass mode. Prior to configuring DCDCMODE=BYPASS, software must set EMU_DCDCCLIMCTRL.BYPLIMEN=1 to prevent excessive current between VREGVDD and DVDD supplies.
LOWNOISE
1: DCDC regulator is operating in low noise mode.
LOWPOWER
2: DCDC regulator is operating in low power mode.
OFF
3: DCDC regulator is off and the bypass switch is off. Note: DVDD must be supplied externally
Trait Implementations§
source§impl Clone for DCDCMODE_A
impl Clone for DCDCMODE_A
source§fn clone(&self) -> DCDCMODE_A
fn clone(&self) -> DCDCMODE_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 DCDCMODE_A
impl Debug for DCDCMODE_A
source§impl From<DCDCMODE_A> for u8
impl From<DCDCMODE_A> for u8
source§fn from(variant: DCDCMODE_A) -> Self
fn from(variant: DCDCMODE_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<DCDCMODE_A> for DCDCMODE_A
impl PartialEq<DCDCMODE_A> for DCDCMODE_A
source§fn eq(&self, other: &DCDCMODE_A) -> bool
fn eq(&self, other: &DCDCMODE_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.