#[repr(u8)]pub enum TxClkSource {
TX_CLK_SOURCE_0 = 0,
TX_CLK_SOURCE_1 = 1,
TX_CLK_SOURCE_2 = 2,
TX_CLK_SOURCE_3 = 3,
TX_CLK_SOURCE_4 = 4,
TX_CLK_SOURCE_5 = 5,
TX_CLK_SOURCE_6 = 6,
_RESERVED_7 = 7,
}Variants§
TX_CLK_SOURCE_0 = 0
XTALOSC input (XTALOSC clock)
TX_CLK_SOURCE_1 = 1
tx_clk input (from SPDIF0_CLK_ROOT. See CCM.)
TX_CLK_SOURCE_2 = 2
tx_clk1 (from SAI1)
TX_CLK_SOURCE_3 = 3
tx_clk2 SPDIF_EXT_CLK, from pads
TX_CLK_SOURCE_4 = 4
tx_clk3 (from SAI2)
TX_CLK_SOURCE_5 = 5
ipg_clk input (frequency divided)
TX_CLK_SOURCE_6 = 6
tx_clk4 (from SAI3)
_RESERVED_7 = 7
Implementations§
Source§impl TxClkSource
impl TxClkSource
Trait Implementations§
Source§impl Clone for TxClkSource
impl Clone for TxClkSource
Source§fn clone(&self) -> TxClkSource
fn clone(&self) -> TxClkSource
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 TxClkSource
impl Debug for TxClkSource
Source§impl From<TxClkSource> for u8
impl From<TxClkSource> for u8
Source§fn from(val: TxClkSource) -> u8
fn from(val: TxClkSource) -> u8
Converts to this type from the input type.
Source§impl From<u8> for TxClkSource
impl From<u8> for TxClkSource
Source§fn from(val: u8) -> TxClkSource
fn from(val: u8) -> TxClkSource
Converts to this type from the input type.
Source§impl Ord for TxClkSource
impl Ord for TxClkSource
Source§fn cmp(&self, other: &TxClkSource) -> Ordering
fn cmp(&self, other: &TxClkSource) -> 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 TxClkSource
impl PartialEq for TxClkSource
Source§impl PartialOrd for TxClkSource
impl PartialOrd for TxClkSource
impl Copy for TxClkSource
impl Eq for TxClkSource
impl StructuralPartialEq for TxClkSource
Auto Trait Implementations§
impl Freeze for TxClkSource
impl RefUnwindSafe for TxClkSource
impl Send for TxClkSource
impl Sync for TxClkSource
impl Unpin for TxClkSource
impl UnwindSafe for TxClkSource
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