Enum stm32_metapac::rcc::vals::I2ssrcDckcfgr
#[repr(u8)]pub enum I2ssrcDckcfgr {
PLLI2S_R = 0,
I2S_CKIN = 1,
PLL_R = 2,
HSI_HSE = 3,
}
Variants§
PLLI2S_R = 0
clock frequency = f(PLLI2S_R)
I2S_CKIN = 1
clock frequency = I2S_CKIN Alternate function input frequency
PLL_R = 2
clock frequency = f(PLL_R)
HSI_HSE = 3
clock frequency = HSI/HSE depends on PLLSRC bit (PLLCFGR[22])
Implementations§
§impl I2ssrcDckcfgr
impl I2ssrcDckcfgr
pub const fn from_bits(val: u8) -> I2ssrcDckcfgr
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for I2ssrcDckcfgr
impl Clone for I2ssrcDckcfgr
§fn clone(&self) -> I2ssrcDckcfgr
fn clone(&self) -> I2ssrcDckcfgr
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<I2ssrcDckcfgr> for u8
impl From<I2ssrcDckcfgr> for u8
§fn from(val: I2ssrcDckcfgr) -> u8
fn from(val: I2ssrcDckcfgr) -> u8
Converts to this type from the input type.
§impl From<u8> for I2ssrcDckcfgr
impl From<u8> for I2ssrcDckcfgr
§fn from(val: u8) -> I2ssrcDckcfgr
fn from(val: u8) -> I2ssrcDckcfgr
Converts to this type from the input type.
§impl Ord for I2ssrcDckcfgr
impl Ord for I2ssrcDckcfgr
§impl PartialEq for I2ssrcDckcfgr
impl PartialEq for I2ssrcDckcfgr
§fn eq(&self, other: &I2ssrcDckcfgr) -> bool
fn eq(&self, other: &I2ssrcDckcfgr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for I2ssrcDckcfgr
impl PartialOrd for I2ssrcDckcfgr
§fn partial_cmp(&self, other: &I2ssrcDckcfgr) -> Option<Ordering>
fn partial_cmp(&self, other: &I2ssrcDckcfgr) -> 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 I2ssrcDckcfgr
impl Eq for I2ssrcDckcfgr
impl StructuralEq for I2ssrcDckcfgr
impl StructuralPartialEq for I2ssrcDckcfgr
Auto Trait Implementations§
impl RefUnwindSafe for I2ssrcDckcfgr
impl Send for I2ssrcDckcfgr
impl Sync for I2ssrcDckcfgr
impl Unpin for I2ssrcDckcfgr
impl UnwindSafe for I2ssrcDckcfgr
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