#[repr(transparent)]pub struct Clkconfig(pub u32);
Expand description
Clock source selection for the I2S module
Tuple Fields§
§0: u32
Implementations§
Source§impl Clkconfig
impl Clkconfig
Sourcepub fn set_clksrc(&mut self, val: Clksrc)
pub fn set_clksrc(&mut self, val: Clksrc)
Clock source selection
Sourcepub const fn bypass(&self) -> bool
pub const fn bypass(&self) -> bool
Bypass clock generator. MCK will be equal to source input. If bypass is enabled the MCKFREQ setting has no effect.
Sourcepub fn set_bypass(&mut self, val: bool)
pub fn set_bypass(&mut self, val: bool)
Bypass clock generator. MCK will be equal to source input. If bypass is enabled the MCKFREQ setting has no effect.
Trait Implementations§
impl Copy for Clkconfig
impl Eq for Clkconfig
impl StructuralPartialEq for Clkconfig
Auto Trait Implementations§
impl Freeze for Clkconfig
impl RefUnwindSafe for Clkconfig
impl Send for Clkconfig
impl Sync for Clkconfig
impl Unpin for Clkconfig
impl UnwindSafe for Clkconfig
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
)