Enum Spdifrxsel
#[repr(u8)]pub enum Spdifrxsel {
PLL1_Q = 0,
PLL2_R = 1,
PLL3_R = 2,
HSI = 3,
}
Variants§
PLL1_Q = 0
pll1_q selected as peripheral clock
PLL2_R = 1
pll2_r selected as peripheral clock
PLL3_R = 2
pll3_r selected as peripheral clock
HSI = 3
hsi_ker selected as peripheral clock
Implementations§
§impl Spdifrxsel
impl Spdifrxsel
pub const fn from_bits(val: u8) -> Spdifrxsel
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Spdifrxsel
impl Clone for Spdifrxsel
§fn clone(&self) -> Spdifrxsel
fn clone(&self) -> Spdifrxsel
Returns a copy 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 more§impl From<u8> for Spdifrxsel
impl From<u8> for Spdifrxsel
§fn from(val: u8) -> Spdifrxsel
fn from(val: u8) -> Spdifrxsel
Converts to this type from the input type.
§impl Ord for Spdifrxsel
impl Ord for Spdifrxsel
§impl PartialEq for Spdifrxsel
impl PartialEq for Spdifrxsel
§impl PartialOrd for Spdifrxsel
impl PartialOrd for Spdifrxsel
impl Copy for Spdifrxsel
impl Eq for Spdifrxsel
impl StructuralPartialEq for Spdifrxsel
Auto Trait Implementations§
impl Freeze for Spdifrxsel
impl RefUnwindSafe for Spdifrxsel
impl Send for Spdifrxsel
impl Sync for Spdifrxsel
impl Unpin for Spdifrxsel
impl UnwindSafe for Spdifrxsel
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