#[repr(transparent)]pub struct Spllcsr2(pub u32);Expand description
SPLL Control Status Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Spllcsr2
impl Spllcsr2
Sourcepub const fn spllpwren(&self) -> bool
pub const fn spllpwren(&self) -> bool
SPLL Power Enable. Raw bit values: false (0) = Disabled: SPLL clock is powered off.; true (1) = Enabled: SPLL clock is powered on.
Sourcepub const fn set_spllpwren(&mut self, val: bool)
pub const fn set_spllpwren(&mut self, val: bool)
SPLL Power Enable. Raw bit values: false (0) = Disabled: SPLL clock is powered off.; true (1) = Enabled: SPLL clock is powered on.
Sourcepub const fn spllclken(&self) -> bool
pub const fn spllclken(&self) -> bool
SPLL Clock Enable. Raw bit values: false (0) = Disabled: SPLL clock is disabled.; true (1) = Enabled: SPLL clock is enabled.
Sourcepub const fn set_spllclken(&mut self, val: bool)
pub const fn set_spllclken(&mut self, val: bool)
SPLL Clock Enable. Raw bit values: false (0) = Disabled: SPLL clock is disabled.; true (1) = Enabled: SPLL clock is enabled.
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. Raw bit values: false (0) = Disabled: Free running mode clockstable is disabled.; true (1) = Enabled: Free running mode clockstable is enabled.
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. Raw bit values: false (0) = Disabled: Free running mode clockstable is disabled.; true (1) = Enabled: Free running mode clockstable is enabled.
Sourcepub const fn spllcm(&self) -> bool
pub const fn spllcm(&self) -> bool
SPLL Clock Monitor. Raw bit values: false (0) = Disabled: SPLL Clock Monitor is disabled.; true (1) = Enabled: SPLL Clock Monitor is enabled.
Sourcepub const fn set_spllcm(&mut self, val: bool)
pub const fn set_spllcm(&mut self, val: bool)
SPLL Clock Monitor. Raw bit values: false (0) = Disabled: SPLL Clock Monitor is disabled.; true (1) = Enabled: SPLL Clock Monitor is enabled.
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 spllsel(&self) -> bool
pub const fn spllsel(&self) -> bool
SPLL Selected. Raw bit values: false (0) = NotSpll: SPLL is not the system clock source.; true (1) = Spll: SPLL is the system clock source.
Sourcepub const fn set_spllsel(&mut self, val: bool)
pub const fn set_spllsel(&mut self, val: bool)
SPLL Selected. Raw bit values: false (0) = NotSpll: SPLL is not the system clock source.; true (1) = Spll: SPLL is the system clock source.
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. Raw bit values: false (0) = NotSpll: SPLL_LOCK interrupt is not enabled.; true (1) = Spll: SPLL_LOCK interrupt is enabled.
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. Raw bit values: false (0) = NotSpll: SPLL_LOCK interrupt is not enabled.; true (1) = Spll: SPLL_LOCK interrupt is enabled.