#[repr(transparent)]pub struct MrccClkoutClkdiv(pub u32);Expand description
CLKOUT clock divider control.
Tuple Fields§
§0: u32Implementations§
Source§impl MrccClkoutClkdiv
impl MrccClkoutClkdiv
Sourcepub const fn reset(&self) -> bool
pub const fn reset(&self) -> bool
Reset divider counter. Raw bit values: false (0) = On: Divider isn’t reset.; true (1) = Off: Divider is reset.
Sourcepub const fn set_reset(&mut self, val: bool)
pub const fn set_reset(&mut self, val: bool)
Reset divider counter. Raw bit values: false (0) = On: Divider isn’t reset.; true (1) = Off: Divider is reset.
Sourcepub const fn halt(&self) -> bool
pub const fn halt(&self) -> bool
Halt divider counter. Raw bit values: false (0) = On: Divider clock is running.; true (1) = Off: Divider clock is stopped.
Sourcepub const fn set_halt(&mut self, val: bool)
pub const fn set_halt(&mut self, val: bool)
Halt divider counter. Raw bit values: false (0) = On: Divider clock is running.; true (1) = Off: Divider clock is stopped.
Sourcepub const fn unstab(&self) -> bool
pub const fn unstab(&self) -> bool
Divider status flag. Raw bit values: false (0) = On: Divider clock is stable.; true (1) = Off: Clock frequency is not stable.
Sourcepub const fn set_unstab(&mut self, val: bool)
pub const fn set_unstab(&mut self, val: bool)
Divider status flag. Raw bit values: false (0) = On: Divider clock is stable.; true (1) = Off: Clock frequency is not stable.
Trait Implementations§
Source§impl Clone for MrccClkoutClkdiv
impl Clone for MrccClkoutClkdiv
Source§fn clone(&self) -> MrccClkoutClkdiv
fn clone(&self) -> MrccClkoutClkdiv
Returns a duplicate 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 moreSource§impl Default for MrccClkoutClkdiv
impl Default for MrccClkoutClkdiv
Source§fn default() -> MrccClkoutClkdiv
fn default() -> MrccClkoutClkdiv
Returns the “default value” for a type. Read more
Source§impl PartialEq for MrccClkoutClkdiv
impl PartialEq for MrccClkoutClkdiv
impl Copy for MrccClkoutClkdiv
impl Eq for MrccClkoutClkdiv
impl StructuralPartialEq for MrccClkoutClkdiv
Auto Trait Implementations§
impl Freeze for MrccClkoutClkdiv
impl RefUnwindSafe for MrccClkoutClkdiv
impl Send for MrccClkoutClkdiv
impl Sync for MrccClkoutClkdiv
impl Unpin for MrccClkoutClkdiv
impl UnwindSafe for MrccClkoutClkdiv
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