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
§impl PartialOrd for I2ssrcDckcfgr
impl PartialOrd for I2ssrcDckcfgr
impl Copy for I2ssrcDckcfgr
impl Eq for I2ssrcDckcfgr
impl StructuralPartialEq for I2ssrcDckcfgr
Auto Trait Implementations§
impl Freeze for I2ssrcDckcfgr
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
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
)