Enum HfclkstatSrc
#[repr(u8)]pub enum HfclkstatSrc {
HFINT = 0,
HFXO = 1,
}
Variants§
HFINT = 0
Clock source: HFINT - 128 MHz on-chip oscillator
HFXO = 1
Clock source: HFXO - 128 MHz clock derived from external 32 MHz crystal oscillator
Implementations§
§impl HfclkstatSrc
impl HfclkstatSrc
pub const fn from_bits(val: u8) -> HfclkstatSrc
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for HfclkstatSrc
impl Clone for HfclkstatSrc
§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 more§impl From<u8> for HfclkstatSrc
impl From<u8> for HfclkstatSrc
§fn from(val: u8) -> HfclkstatSrc
fn from(val: u8) -> HfclkstatSrc
Converts to this type from the input type.
§impl Ord for HfclkstatSrc
impl Ord for HfclkstatSrc
§impl PartialEq for HfclkstatSrc
impl PartialEq for HfclkstatSrc
§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