Enum stm32_metapac::rcc::vals::I2ssrcCfgr
#[repr(u8)]pub enum I2ssrcCfgr {
PLLI2S = 0,
CKIN = 1,
}
Variants§
PLLI2S = 0
PLLI2S clock used as I2S clock source
CKIN = 1
External clock mapped on the I2S_CKIN pin used as I2S clock source
Implementations§
§impl I2ssrcCfgr
impl I2ssrcCfgr
pub const fn from_bits(val: u8) -> I2ssrcCfgr
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for I2ssrcCfgr
impl Clone for I2ssrcCfgr
§fn clone(&self) -> I2ssrcCfgr
fn clone(&self) -> I2ssrcCfgr
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<I2ssrcCfgr> for u8
impl From<I2ssrcCfgr> for u8
§fn from(val: I2ssrcCfgr) -> u8
fn from(val: I2ssrcCfgr) -> u8
Converts to this type from the input type.
§impl From<u8> for I2ssrcCfgr
impl From<u8> for I2ssrcCfgr
§fn from(val: u8) -> I2ssrcCfgr
fn from(val: u8) -> I2ssrcCfgr
Converts to this type from the input type.
§impl Ord for I2ssrcCfgr
impl Ord for I2ssrcCfgr
§impl PartialEq for I2ssrcCfgr
impl PartialEq for I2ssrcCfgr
§impl PartialOrd for I2ssrcCfgr
impl PartialOrd for I2ssrcCfgr
impl Copy for I2ssrcCfgr
impl Eq for I2ssrcCfgr
impl StructuralPartialEq for I2ssrcCfgr
Auto Trait Implementations§
impl Freeze for I2ssrcCfgr
impl RefUnwindSafe for I2ssrcCfgr
impl Send for I2ssrcCfgr
impl Sync for I2ssrcCfgr
impl Unpin for I2ssrcCfgr
impl UnwindSafe for I2ssrcCfgr
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
)