#[repr(u8)]pub enum LEMOSCCTRL_A {
NONE = 0,
GATE = 1,
SUSPEND = 2,
}Expand description
Low Energy Mode Oscillator Control
Value on reset: 2
Variants§
NONE = 0
0: Low Energy Mode has no effect on neither USBC or USHFRCO.
GATE = 1
1: The USBC clock is gated when Low Energy Mode is active.
SUSPEND = 2
2: The USBC clock is gated, and USHFRCO is suspended (if not selected as HFCLK) 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 duplicate 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 for LEMOSCCTRL_A
impl PartialEq for LEMOSCCTRL_A
impl Copy for LEMOSCCTRL_A
impl StructuralPartialEq for LEMOSCCTRL_A
Auto Trait Implementations§
impl Freeze for LEMOSCCTRL_A
impl RefUnwindSafe for LEMOSCCTRL_A
impl Send for LEMOSCCTRL_A
impl Sync for LEMOSCCTRL_A
impl Unpin for LEMOSCCTRL_A
impl UnwindSafe for LEMOSCCTRL_A
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