#[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 spllsten(&self) -> bool
pub const fn spllsten(&self) -> bool
SPLL Stop Enable. Raw bit values: false (0) = DisabledInStop: SPLL is disabled in Deep Sleep mode.; true (1) = EnabledInStop: SPLL is enabled in Deep Sleep mode.
Sourcepub const fn set_spllsten(&mut self, val: bool)
pub const fn set_spllsten(&mut self, val: bool)
SPLL Stop Enable. Raw bit values: false (0) = DisabledInStop: SPLL is disabled in Deep Sleep mode.; true (1) = EnabledInStop: SPLL is enabled in Deep Sleep mode.
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 spllcmre(&self) -> bool
pub const fn spllcmre(&self) -> bool
SPLL Clock Monitor Reset Enable. Raw bit values: false (0) = GenerateInterrupt: Clock monitor generates an interrupt when an error is detected.; true (1) = GenerateReset: Clock monitor generates a reset when an error is detected.
Sourcepub const fn set_spllcmre(&mut self, val: bool)
pub const fn set_spllcmre(&mut self, val: bool)
SPLL Clock Monitor Reset Enable. Raw bit values: false (0) = GenerateInterrupt: Clock monitor generates an interrupt when an error is detected.; true (1) = GenerateReset: Clock monitor generates a reset when an error is detected.
Sourcepub const fn lk(&self) -> bool
pub const fn lk(&self) -> bool
Lock Register. Raw bit values: false (0) = WriteEnabled: Control Status Register can be written.; true (1) = WriteDisabled: Control Status Register cannot be written.
Sourcepub const fn set_lk(&mut self, val: bool)
pub const fn set_lk(&mut self, val: bool)
Lock Register. Raw bit values: false (0) = WriteEnabled: Control Status Register can be written.; true (1) = WriteDisabled: Control Status Register cannot be written.
Sourcepub const fn spll_lock(&self) -> bool
pub const fn spll_lock(&self) -> bool
SPLL LOCK. Raw bit values: false (0) = DisabledOrNotValid: SPLL is not powered on or not locked.; true (1) = EnabledAndValid: SPLL is locked.
Sourcepub const fn set_spll_lock(&mut self, val: bool)
pub const fn set_spll_lock(&mut self, val: bool)
SPLL LOCK. Raw bit values: false (0) = DisabledOrNotValid: SPLL is not powered on or not locked.; true (1) = EnabledAndValid: SPLL is locked.
Sourcepub const fn set_spllsel(&mut self, val: bool)
pub const fn set_spllsel(&mut self, val: bool)
SPLL Selected.
Sourcepub const fn spllerr(&self) -> bool
pub const fn spllerr(&self) -> bool
SPLL Clock Error. Raw bit values: false (0) = DisabledOrNoError: SPLL Clock Monitor is disabled or has not detected an error.; true (1) = EnabledAndError: SPLL Clock Monitor is enabled and detected an error.
Sourcepub const fn set_spllerr(&mut self, val: bool)
pub const fn set_spllerr(&mut self, val: bool)
SPLL Clock Error. Raw bit values: false (0) = DisabledOrNoError: SPLL Clock Monitor is disabled or has not detected an error.; true (1) = EnabledAndError: SPLL Clock Monitor is enabled and detected an 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.