#[repr(transparent)]pub struct ScgAlphaFieldsetBravo(pub u32);Expand description
APLL Control Status Register.
Tuple Fields§
§0: u32Implementations§
Source§impl ScgAlphaFieldsetBravo
impl ScgAlphaFieldsetBravo
Sourcepub const fn apllpwren(&self) -> bool
pub const fn apllpwren(&self) -> bool
APLL Power Enable. Raw bit values: false (0) = Disabled: APLL clock is powered off.; true (1) = Enabled: APLL clock is powered on.
Sourcepub const fn set_apllpwren(&mut self, val: bool)
pub const fn set_apllpwren(&mut self, val: bool)
APLL Power Enable. Raw bit values: false (0) = Disabled: APLL clock is powered off.; true (1) = Enabled: APLL clock is powered on.
Sourcepub const fn apllclken(&self) -> bool
pub const fn apllclken(&self) -> bool
APLL Clock Enable. Raw bit values: false (0) = Disabled: APLL clock is disabled.; true (1) = Enabled: APLL clock is enabled.
Sourcepub const fn set_apllclken(&mut self, val: bool)
pub const fn set_apllclken(&mut self, val: bool)
APLL Clock Enable. Raw bit values: false (0) = Disabled: APLL clock is disabled.; true (1) = Enabled: APLL clock is enabled.
Sourcepub const fn apllsten(&self) -> bool
pub const fn apllsten(&self) -> bool
APLL Stop Enable. Raw bit values: false (0) = DisabledInStop: APLL is disabled in Deep Sleep mode.; true (1) = EnabledInStop: APLL is enabled in Deep Sleep mode.
Sourcepub const fn set_apllsten(&mut self, val: bool)
pub const fn set_apllsten(&mut self, val: bool)
APLL Stop Enable. Raw bit values: false (0) = DisabledInStop: APLL is disabled in Deep Sleep mode.; true (1) = EnabledInStop: APLL is enabled in Deep Sleep mode.
Sourcepub const fn apllcm(&self) -> bool
pub const fn apllcm(&self) -> bool
APLL Clock Monitor. Raw bit values: false (0) = Disabled: APLL Clock Monitor is disabled.; true (1) = Enabled: APLL Clock Monitor is enabled.
Sourcepub const fn set_apllcm(&mut self, val: bool)
pub const fn set_apllcm(&mut self, val: bool)
APLL Clock Monitor. Raw bit values: false (0) = Disabled: APLL Clock Monitor is disabled.; true (1) = Enabled: APLL Clock Monitor is enabled.
Sourcepub const fn apllcmre(&self) -> bool
pub const fn apllcmre(&self) -> bool
APLL 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_apllcmre(&mut self, val: bool)
pub const fn set_apllcmre(&mut self, val: bool)
APLL 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 apll_lock(&self) -> bool
pub const fn apll_lock(&self) -> bool
APLL LOCK. Raw bit values: false (0) = DisabledOrNotValid: APLL is not powered on or not locked.; true (1) = EnabledAndValid: APLL is locked.
Sourcepub const fn set_apll_lock(&mut self, val: bool)
pub const fn set_apll_lock(&mut self, val: bool)
APLL LOCK. Raw bit values: false (0) = DisabledOrNotValid: APLL is not powered on or not locked.; true (1) = EnabledAndValid: APLL is locked.
Sourcepub const fn apllsel(&self) -> bool
pub const fn apllsel(&self) -> bool
APLL Selected. Raw bit values: false (0) = NotApll: APLL is not the system clock source.; true (1) = Apll: APLL is the system clock source.
Sourcepub const fn set_apllsel(&mut self, val: bool)
pub const fn set_apllsel(&mut self, val: bool)
APLL Selected. Raw bit values: false (0) = NotApll: APLL is not the system clock source.; true (1) = Apll: APLL is the system clock source.
Sourcepub const fn apllerr(&self) -> bool
pub const fn apllerr(&self) -> bool
APLL Clock Error. Raw bit values: false (0) = DisabledOrNoError: APLL Clock Monitor is disabled or has not detected an error.; true (1) = EnabledAndError: APLL Clock Monitor is enabled and detected an error.
Sourcepub const fn set_apllerr(&mut self, val: bool)
pub const fn set_apllerr(&mut self, val: bool)
APLL Clock Error. Raw bit values: false (0) = DisabledOrNoError: APLL Clock Monitor is disabled or has not detected an error.; true (1) = EnabledAndError: APLL Clock Monitor is enabled and detected an error.
Sourcepub const fn apll_lock_ie(&self) -> bool
pub const fn apll_lock_ie(&self) -> bool
APLL LOCK Interrupt Enable. Raw bit values: false (0) = NotApll: APLL_LOCK interrupt is not enabled.; true (1) = Apll: APLL_LOCK interrupt is enabled.
Sourcepub const fn set_apll_lock_ie(&mut self, val: bool)
pub const fn set_apll_lock_ie(&mut self, val: bool)
APLL LOCK Interrupt Enable. Raw bit values: false (0) = NotApll: APLL_LOCK interrupt is not enabled.; true (1) = Apll: APLL_LOCK interrupt is enabled.
Trait Implementations§
Source§impl Clone for ScgAlphaFieldsetBravo
impl Clone for ScgAlphaFieldsetBravo
Source§fn clone(&self) -> ScgAlphaFieldsetBravo
fn clone(&self) -> ScgAlphaFieldsetBravo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more