#[repr(transparent)]pub struct Mclkdiv(pub u32);Expand description
I2S MCLK clock divider
Tuple Fields§
§0: u32Implementations§
Source§impl Mclkdiv
impl Mclkdiv
Sourcepub const fn reset(&self) -> MclkdivReset
pub const fn reset(&self) -> MclkdivReset
Resets the divider counter.
Sourcepub const fn set_reset(&mut self, val: MclkdivReset)
pub const fn set_reset(&mut self, val: MclkdivReset)
Resets the divider counter.
Sourcepub const fn halt(&self) -> MclkdivHalt
pub const fn halt(&self) -> MclkdivHalt
Halts the divider counter.
Sourcepub const fn set_halt(&mut self, val: MclkdivHalt)
pub const fn set_halt(&mut self, val: MclkdivHalt)
Halts the divider counter.
Sourcepub const fn reqflag(&self) -> MclkdivReqflag
pub const fn reqflag(&self) -> MclkdivReqflag
Divider status flag.
Sourcepub const fn set_reqflag(&mut self, val: MclkdivReqflag)
pub const fn set_reqflag(&mut self, val: MclkdivReqflag)
Divider status flag.
Trait Implementations§
impl Copy for Mclkdiv
impl Eq for Mclkdiv
impl StructuralPartialEq for Mclkdiv
Auto Trait Implementations§
impl Freeze for Mclkdiv
impl RefUnwindSafe for Mclkdiv
impl Send for Mclkdiv
impl Sync for Mclkdiv
impl Unpin for Mclkdiv
impl UnwindSafe for Mclkdiv
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