#[repr(transparent)]pub struct MrccAdc0Clkdiv(pub u32);Expand description
ADC0 clock divider control.
Tuple Fields§
§0: u32Implementations§
Source§impl MrccAdc0Clkdiv
impl MrccAdc0Clkdiv
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 isn’t 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 isn’t stable.
Trait Implementations§
Source§impl Clone for MrccAdc0Clkdiv
impl Clone for MrccAdc0Clkdiv
Source§fn clone(&self) -> MrccAdc0Clkdiv
fn clone(&self) -> MrccAdc0Clkdiv
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 MrccAdc0Clkdiv
impl Default for MrccAdc0Clkdiv
Source§fn default() -> MrccAdc0Clkdiv
fn default() -> MrccAdc0Clkdiv
Returns the “default value” for a type. Read more
Source§impl PartialEq for MrccAdc0Clkdiv
impl PartialEq for MrccAdc0Clkdiv
impl Copy for MrccAdc0Clkdiv
impl Eq for MrccAdc0Clkdiv
impl StructuralPartialEq for MrccAdc0Clkdiv
Auto Trait Implementations§
impl Freeze for MrccAdc0Clkdiv
impl RefUnwindSafe for MrccAdc0Clkdiv
impl Send for MrccAdc0Clkdiv
impl Sync for MrccAdc0Clkdiv
impl Unpin for MrccAdc0Clkdiv
impl UnwindSafe for MrccAdc0Clkdiv
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