pub enum Lpi2cClockSel {
FroLfDiv,
FroHfDiv,
ClkIn,
Clk1M,
Pll1ClkDiv,
None,
}Expand description
Selectable clocks for Lpi2c 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 Lpi2cClockSel
impl Clone for Lpi2cClockSel
Source§fn clone(&self) -> Lpi2cClockSel
fn clone(&self) -> Lpi2cClockSel
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 Lpi2cClockSel
impl Debug for Lpi2cClockSel
impl Copy for Lpi2cClockSel
Auto Trait Implementations§
impl Freeze for Lpi2cClockSel
impl RefUnwindSafe for Lpi2cClockSel
impl Send for Lpi2cClockSel
impl Sync for Lpi2cClockSel
impl Unpin for Lpi2cClockSel
impl UnwindSafe for Lpi2cClockSel
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