#[repr(u8)]pub enum HfclkstatSrc {
HFINT = 0,
HFXO = 1,
}
Variants§
HFINT = 0
HFINT - 64 MHz on-chip oscillator
HFXO = 1
HFXO - 64 MHz clock derived from external 32 MHz crystal oscillator
Implementations§
Source§impl HfclkstatSrc
impl HfclkstatSrc
Trait Implementations§
Source§impl Clone for HfclkstatSrc
impl Clone for HfclkstatSrc
Source§fn clone(&self) -> HfclkstatSrc
fn clone(&self) -> HfclkstatSrc
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<HfclkstatSrc> for u8
impl From<HfclkstatSrc> for u8
Source§fn from(val: HfclkstatSrc) -> u8
fn from(val: HfclkstatSrc) -> u8
Converts to this type from the input type.
Source§impl From<u8> for HfclkstatSrc
impl From<u8> for HfclkstatSrc
Source§fn from(val: u8) -> HfclkstatSrc
fn from(val: u8) -> HfclkstatSrc
Converts to this type from the input type.
Source§impl Ord for HfclkstatSrc
impl Ord for HfclkstatSrc
Source§fn cmp(&self, other: &HfclkstatSrc) -> Ordering
fn cmp(&self, other: &HfclkstatSrc) -> 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 HfclkstatSrc
impl PartialEq for HfclkstatSrc
Source§impl PartialOrd for HfclkstatSrc
impl PartialOrd for HfclkstatSrc
impl Copy for HfclkstatSrc
impl Eq for HfclkstatSrc
impl StructuralPartialEq for HfclkstatSrc
Auto Trait Implementations§
impl Freeze for HfclkstatSrc
impl RefUnwindSafe for HfclkstatSrc
impl Send for HfclkstatSrc
impl Sync for HfclkstatSrc
impl Unpin for HfclkstatSrc
impl UnwindSafe for HfclkstatSrc
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)