#[repr(transparent)]pub struct ScgAlphaFieldsetNovemberAlpha(pub u32);Expand description
UPLL Control Status Register.
Tuple Fields§
§0: u32Implementations§
Source§impl ScgAlphaFieldsetNovemberAlpha
impl ScgAlphaFieldsetNovemberAlpha
Sourcepub const fn upllcm(&self) -> bool
pub const fn upllcm(&self) -> bool
UPLL Clock Monitor. Raw bit values: false (0) = Disabled: UPLL Clock Monitor is disabled.; true (1) = Enabled: UPLL Clock Monitor is enabled.
Sourcepub const fn set_upllcm(&mut self, val: bool)
pub const fn set_upllcm(&mut self, val: bool)
UPLL Clock Monitor. Raw bit values: false (0) = Disabled: UPLL Clock Monitor is disabled.; true (1) = Enabled: UPLL Clock Monitor is enabled.
Sourcepub const fn upllcmre(&self) -> bool
pub const fn upllcmre(&self) -> bool
UPLL 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_upllcmre(&mut self, val: bool)
pub const fn set_upllcmre(&mut self, val: bool)
UPLL 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 upllvld(&self) -> bool
pub const fn upllvld(&self) -> bool
UPLL Valid. Raw bit values: false (0) = DisabledOrNotValid: UPLL is not enabled or clock is not valid.; true (1) = EnabledAndValid: UPLL is enabled and output clock is valid.
Sourcepub const fn set_upllvld(&mut self, val: bool)
pub const fn set_upllvld(&mut self, val: bool)
UPLL Valid. Raw bit values: false (0) = DisabledOrNotValid: UPLL is not enabled or clock is not valid.; true (1) = EnabledAndValid: UPLL is enabled and output clock is valid.
Sourcepub const fn upllsel(&self) -> bool
pub const fn upllsel(&self) -> bool
UPLL Selected. Raw bit values: false (0) = NotUsbPll: UPLL is not the system clock source.; true (1) = UsbPll: UPLL is the system clock source.
Sourcepub const fn set_upllsel(&mut self, val: bool)
pub const fn set_upllsel(&mut self, val: bool)
UPLL Selected. Raw bit values: false (0) = NotUsbPll: UPLL is not the system clock source.; true (1) = UsbPll: UPLL is the system clock source.
Sourcepub const fn upllerr(&self) -> bool
pub const fn upllerr(&self) -> bool
UPLL Clock Error. Raw bit values: false (0) = DisabledOrNoError: UPLL Clock Monitor is disabled or has not detected an error.; true (1) = EnabledAndError: UPLL Clock Monitor is enabled and detected an error.
Sourcepub const fn set_upllerr(&mut self, val: bool)
pub const fn set_upllerr(&mut self, val: bool)
UPLL Clock Error. Raw bit values: false (0) = DisabledOrNoError: UPLL Clock Monitor is disabled or has not detected an error.; true (1) = EnabledAndError: UPLL Clock Monitor is enabled and detected an error.
Trait Implementations§
Source§impl Clone for ScgAlphaFieldsetNovemberAlpha
impl Clone for ScgAlphaFieldsetNovemberAlpha
Source§fn clone(&self) -> ScgAlphaFieldsetNovemberAlpha
fn clone(&self) -> ScgAlphaFieldsetNovemberAlpha
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ScgAlphaFieldsetNovemberAlpha
impl Default for ScgAlphaFieldsetNovemberAlpha
Source§fn default() -> ScgAlphaFieldsetNovemberAlpha
fn default() -> ScgAlphaFieldsetNovemberAlpha
Source§impl PartialEq for ScgAlphaFieldsetNovemberAlpha
impl PartialEq for ScgAlphaFieldsetNovemberAlpha
Source§fn eq(&self, other: &ScgAlphaFieldsetNovemberAlpha) -> bool
fn eq(&self, other: &ScgAlphaFieldsetNovemberAlpha) -> bool
self and other values to be equal, and is used by ==.