#[repr(u8)]pub enum LpspiClkSel {
LPSPI_CLK_SEL_0 = 0,
LPSPI_CLK_SEL_1 = 1,
LPSPI_CLK_SEL_2 = 2,
LPSPI_CLK_SEL_3 = 3,
}Variants§
LPSPI_CLK_SEL_0 = 0
derive clock from PLL3 PFD1 clk
LPSPI_CLK_SEL_1 = 1
derive clock from PLL3 PFD0
LPSPI_CLK_SEL_2 = 2
derive clock from PLL2
LPSPI_CLK_SEL_3 = 3
derive clock from PLL2 PFD2
Implementations§
Source§impl LpspiClkSel
impl LpspiClkSel
Trait Implementations§
Source§impl Clone for LpspiClkSel
impl Clone for LpspiClkSel
Source§fn clone(&self) -> LpspiClkSel
fn clone(&self) -> LpspiClkSel
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 LpspiClkSel
impl Debug for LpspiClkSel
Source§impl From<LpspiClkSel> for u8
impl From<LpspiClkSel> for u8
Source§fn from(val: LpspiClkSel) -> u8
fn from(val: LpspiClkSel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for LpspiClkSel
impl From<u8> for LpspiClkSel
Source§fn from(val: u8) -> LpspiClkSel
fn from(val: u8) -> LpspiClkSel
Converts to this type from the input type.
Source§impl Ord for LpspiClkSel
impl Ord for LpspiClkSel
Source§fn cmp(&self, other: &LpspiClkSel) -> Ordering
fn cmp(&self, other: &LpspiClkSel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LpspiClkSel
impl PartialEq for LpspiClkSel
Source§impl PartialOrd for LpspiClkSel
impl PartialOrd for LpspiClkSel
impl Copy for LpspiClkSel
impl Eq for LpspiClkSel
impl StructuralPartialEq for LpspiClkSel
Auto Trait Implementations§
impl Freeze for LpspiClkSel
impl RefUnwindSafe for LpspiClkSel
impl Send for LpspiClkSel
impl Sync for LpspiClkSel
impl Unpin for LpspiClkSel
impl UnwindSafe for LpspiClkSel
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