pub enum LpspiClockSel {
FroLfDiv,
FroHfDiv,
ClkIn,
Clk1M,
Pll1ClkDiv,
None,
}Expand description
Selectable clocks for Lpspi peripherals
Variants§
FroLfDiv
FRO12M/FRO_LF/SIRC clock source, passed through divider “fro_lf_div”
FroHfDiv
FRO180M/FRO_HF/FIRC clock source, passed through divider “fro_hf_div”
ClkIn
SOSC/XTAL/EXTAL clock source
Clk1M
clk_1m/FRO_LF divided by 12
Pll1ClkDiv
Output of PLL1, passed through clock divider, “pll1_clk_div”, maybe “pll1_lf_div”?
None
Disabled
Trait Implementations§
Source§impl Clone for LpspiClockSel
impl Clone for LpspiClockSel
Source§fn clone(&self) -> LpspiClockSel
fn clone(&self) -> LpspiClockSel
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 LpspiClockSel
impl Debug for LpspiClockSel
impl Copy for LpspiClockSel
Auto Trait Implementations§
impl Freeze for LpspiClockSel
impl RefUnwindSafe for LpspiClockSel
impl Send for LpspiClockSel
impl Sync for LpspiClockSel
impl Unpin for LpspiClockSel
impl UnwindSafe for LpspiClockSel
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