#[repr(u8)]pub enum HFXOMODE_A {
XTAL = 0,
BUFEXTCLK = 1,
DIGEXTCLK = 2,
}
Expand description
HFXO Mode
Value on reset: 0
Variants§
XTAL = 0
0: 4-32 MHz crystal oscillator.
BUFEXTCLK = 1
1: An AC coupled buffer is coupled in series with HFXTAL_N, suitable for external sine wave (4-32 MHz). The sine wave should have a minimum of 200 mV peak to peak.
DIGEXTCLK = 2
2: Digital external clock on HFXTAL_N pin. Oscillator is effectively bypassed.
Trait Implementations§
Source§impl Clone for HFXOMODE_A
impl Clone for HFXOMODE_A
Source§fn clone(&self) -> HFXOMODE_A
fn clone(&self) -> HFXOMODE_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 HFXOMODE_A
impl Debug for HFXOMODE_A
Source§impl From<HFXOMODE_A> for u8
impl From<HFXOMODE_A> for u8
Source§fn from(variant: HFXOMODE_A) -> Self
fn from(variant: HFXOMODE_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HFXOMODE_A
impl PartialEq for HFXOMODE_A
impl Copy for HFXOMODE_A
impl StructuralPartialEq for HFXOMODE_A
Auto Trait Implementations§
impl Freeze for HFXOMODE_A
impl RefUnwindSafe for HFXOMODE_A
impl Send for HFXOMODE_A
impl Sync for HFXOMODE_A
impl Unpin for HFXOMODE_A
impl UnwindSafe for HFXOMODE_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