pub enum MainClockSource {
SoscClkIn,
SircFro12M,
FircHfRoot,
RoscFro16K,
SPll1,
}Expand description
Main clock source
Variants§
SoscClkIn
Clock derived from clk_in, via the external oscillator (8-50MHz)
NOTE: Requires sosc-as-gpio feature disabled, which also disables GPIO access to P1_30 and P1_31
SircFro12M
Clock derived from fro_12m, via the internal 12MHz oscillator (12MHz)
FircHfRoot
Clock derived from fro_hf_root, via the internal 45/60/90/180M clock source (45-180MHz)
RoscFro16K
Clock derived from clk_16k (vdd core)
SPll1
Clock derived from pll1_clk, via the internal PLL
Trait Implementations§
Source§impl Clone for MainClockSource
impl Clone for MainClockSource
Source§fn clone(&self) -> MainClockSource
fn clone(&self) -> MainClockSource
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 moreimpl Copy for MainClockSource
Auto Trait Implementations§
impl Freeze for MainClockSource
impl RefUnwindSafe for MainClockSource
impl Send for MainClockSource
impl Sync for MainClockSource
impl Unpin for MainClockSource
impl UnwindSafe for MainClockSource
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