#[repr(transparent)]pub struct Lr(pub u32);Expand description
RTC Lock.
Tuple Fields§
§0: u32Implementations§
Source§impl Lr
impl Lr
Sourcepub const fn tcl(&self) -> bool
pub const fn tcl(&self) -> bool
Time Compensation Lock. Raw bit values: false (0) = Locked: Time Compensation Register is locked and writes are ignored.; true (1) = NotLocked: Time Compensation Register is not locked and writes complete as normal.
Sourcepub const fn set_tcl(&mut self, val: bool)
pub const fn set_tcl(&mut self, val: bool)
Time Compensation Lock. Raw bit values: false (0) = Locked: Time Compensation Register is locked and writes are ignored.; true (1) = NotLocked: Time Compensation Register is not locked and writes complete as normal.
Sourcepub const fn crl(&self) -> bool
pub const fn crl(&self) -> bool
Control Register Lock. Raw bit values: false (0) = Locked: Control Register is locked and writes are ignored.; true (1) = NotLocked: Control Register is not locked and writes complete as normal.
Sourcepub const fn set_crl(&mut self, val: bool)
pub const fn set_crl(&mut self, val: bool)
Control Register Lock. Raw bit values: false (0) = Locked: Control Register is locked and writes are ignored.; true (1) = NotLocked: Control Register is not locked and writes complete as normal.
Sourcepub const fn srl(&self) -> bool
pub const fn srl(&self) -> bool
Status Register Lock. Raw bit values: false (0) = Locked: Status Register is locked and writes are ignored.; true (1) = NotLocked: Status Register is not locked and writes complete as normal.
Sourcepub const fn set_srl(&mut self, val: bool)
pub const fn set_srl(&mut self, val: bool)
Status Register Lock. Raw bit values: false (0) = Locked: Status Register is locked and writes are ignored.; true (1) = NotLocked: Status Register is not locked and writes complete as normal.