Enum embassy_stm32::rcc::mux::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
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)