#[repr(transparent)]pub struct Spllcsr(pub u32);Expand description
SPLL Control Status Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Spllcsr
impl Spllcsr
Sourcepub const fn set_spllpwren(&mut self, val: bool)
pub const fn set_spllpwren(&mut self, val: bool)
SPLL Power Enable.
Sourcepub const fn set_spllclken(&mut self, val: bool)
pub const fn set_spllclken(&mut self, val: bool)
SPLL Clock Enable.
Sourcepub const fn set_spllsten(&mut self, val: Spllsten)
pub const fn set_spllsten(&mut self, val: Spllsten)
SPLL Stop Enable.
Sourcepub const fn frm_clockstable(&self) -> bool
pub const fn frm_clockstable(&self) -> bool
Free running mode clock stable.
Sourcepub const fn set_frm_clockstable(&mut self, val: bool)
pub const fn set_frm_clockstable(&mut self, val: bool)
Free running mode clock stable.
Sourcepub const fn set_spllcm(&mut self, val: bool)
pub const fn set_spllcm(&mut self, val: bool)
SPLL Clock Monitor.
Sourcepub const fn set_spllcmre(&mut self, val: Spllcmre)
pub const fn set_spllcmre(&mut self, val: Spllcmre)
SPLL Clock Monitor Reset Enable.
Sourcepub const fn set_spll_lock(&mut self, val: SpllLock)
pub const fn set_spll_lock(&mut self, val: SpllLock)
SPLL LOCK.
Sourcepub const fn set_spllsel(&mut self, val: bool)
pub const fn set_spllsel(&mut self, val: bool)
SPLL Selected.
Sourcepub const fn set_spllerr(&mut self, val: Spllerr)
pub const fn set_spllerr(&mut self, val: Spllerr)
SPLL Clock Error.
Sourcepub const fn spll_lock_ie(&self) -> bool
pub const fn spll_lock_ie(&self) -> bool
SPLL LOCK Interrupt Enable.
Sourcepub const fn set_spll_lock_ie(&mut self, val: bool)
pub const fn set_spll_lock_ie(&mut self, val: bool)
SPLL LOCK Interrupt Enable.
Trait Implementations§
impl Copy for Spllcsr
impl Eq for Spllcsr
impl StructuralPartialEq for Spllcsr
Auto Trait Implementations§
impl Freeze for Spllcsr
impl RefUnwindSafe for Spllcsr
impl Send for Spllcsr
impl Sync for Spllcsr
impl Unpin for Spllcsr
impl UnwindSafe for Spllcsr
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