Enum efm32gg11b_pac::efm32gg11b840::usb::ctrl::LEMOSCCTRL_A
source · #[repr(u8)]
pub enum LEMOSCCTRL_A {
NONE,
GATE,
}
Expand description
Low Energy Mode Oscillator Control
Value on reset: 2
Variants§
NONE
0: Low Energy Mode has no effect on neither USBC or USHFRCO.
GATE
1: The USBC clock is gated when Low Energy Mode is active.
Trait Implementations§
source§impl Clone for LEMOSCCTRL_A
impl Clone for LEMOSCCTRL_A
source§fn clone(&self) -> LEMOSCCTRL_A
fn clone(&self) -> LEMOSCCTRL_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 LEMOSCCTRL_A
impl Debug for LEMOSCCTRL_A
source§impl From<LEMOSCCTRL_A> for u8
impl From<LEMOSCCTRL_A> for u8
source§fn from(variant: LEMOSCCTRL_A) -> Self
fn from(variant: LEMOSCCTRL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<LEMOSCCTRL_A> for LEMOSCCTRL_A
impl PartialEq<LEMOSCCTRL_A> for LEMOSCCTRL_A
source§fn eq(&self, other: &LEMOSCCTRL_A) -> bool
fn eq(&self, other: &LEMOSCCTRL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.