#[repr(u8)]pub enum DisableAutoClkSwitch {
XTAL_CLK = 0,
SEL_CLK = 1,
}Variants§
XTAL_CLK = 0
If DISABLE_AUTO_CLK_SWITCH is set to 0 and 24M xtal is OK, the clock source will switch from internal ring OSC to 24M xtal automatically
SEL_CLK = 1
If DISABLE_AUTO_CLK_SWITCH is set to 1, SEL_CLK will determine which clock source the DCDC uses
Implementations§
Trait Implementations§
Source§impl Clone for DisableAutoClkSwitch
impl Clone for DisableAutoClkSwitch
Source§fn clone(&self) -> DisableAutoClkSwitch
fn clone(&self) -> DisableAutoClkSwitch
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 DisableAutoClkSwitch
impl Debug for DisableAutoClkSwitch
Source§impl From<DisableAutoClkSwitch> for u8
impl From<DisableAutoClkSwitch> for u8
Source§fn from(val: DisableAutoClkSwitch) -> u8
fn from(val: DisableAutoClkSwitch) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DisableAutoClkSwitch
impl From<u8> for DisableAutoClkSwitch
Source§fn from(val: u8) -> DisableAutoClkSwitch
fn from(val: u8) -> DisableAutoClkSwitch
Converts to this type from the input type.
Source§impl Ord for DisableAutoClkSwitch
impl Ord for DisableAutoClkSwitch
Source§fn cmp(&self, other: &DisableAutoClkSwitch) -> Ordering
fn cmp(&self, other: &DisableAutoClkSwitch) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DisableAutoClkSwitch
impl PartialEq for DisableAutoClkSwitch
Source§impl PartialOrd for DisableAutoClkSwitch
impl PartialOrd for DisableAutoClkSwitch
impl Copy for DisableAutoClkSwitch
impl Eq for DisableAutoClkSwitch
impl StructuralPartialEq for DisableAutoClkSwitch
Auto Trait Implementations§
impl Freeze for DisableAutoClkSwitch
impl RefUnwindSafe for DisableAutoClkSwitch
impl Send for DisableAutoClkSwitch
impl Sync for DisableAutoClkSwitch
impl Unpin for DisableAutoClkSwitch
impl UnwindSafe for DisableAutoClkSwitch
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