Enum stm32_metapac::rcc::vals::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<Spdifrxsel> for u8
impl From<Spdifrxsel> for u8
§fn from(val: Spdifrxsel) -> u8
fn from(val: Spdifrxsel) -> u8
Converts to this type from the input type.
§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
§fn eq(&self, other: &Spdifrxsel) -> bool
fn eq(&self, other: &Spdifrxsel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Spdifrxsel
impl PartialOrd for Spdifrxsel
§fn partial_cmp(&self, other: &Spdifrxsel) -> Option<Ordering>
fn partial_cmp(&self, other: &Spdifrxsel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Spdifrxsel
impl Eq for Spdifrxsel
impl StructuralEq for Spdifrxsel
impl StructuralPartialEq for Spdifrxsel
Auto Trait Implementations§
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