#[repr(transparent)]pub struct Upllcsr(pub u32);Expand description
UPLL Control Status Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Upllcsr
impl Upllcsr
Sourcepub const fn set_upllcm(&mut self, val: bool)
pub const fn set_upllcm(&mut self, val: bool)
UPLL Clock Monitor.
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 set_upllsel(&mut self, val: bool)
pub const fn set_upllsel(&mut self, val: bool)
UPLL Selected.
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.