#[repr(transparent)]pub struct RtcAlphaFieldsetPapa(pub u16);Expand description
Status.
Tuple Fields§
§0: u16Implementations§
Source§impl RtcAlphaFieldsetPapa
impl RtcAlphaFieldsetPapa
Sourcepub const fn inval_bit(&self) -> bool
pub const fn inval_bit(&self) -> bool
Invalidate CPU Read/Write Access. Raw bit values: false (0) = Valid: Time and date counters can be read or written. Time and date is valid.; true (1) = Invalid: Time and date counter values are changing or time and date is invalid and cannot be read or written.
Sourcepub const fn set_inval_bit(&mut self, val: bool)
pub const fn set_inval_bit(&mut self, val: bool)
Invalidate CPU Read/Write Access. Raw bit values: false (0) = Valid: Time and date counters can be read or written. Time and date is valid.; true (1) = Invalid: Time and date counter values are changing or time and date is invalid and cannot be read or written.
Sourcepub const fn write_prot_en(&self) -> bool
pub const fn write_prot_en(&self) -> bool
Write Protect Enable Status. Raw bit values: false (0) = Unlocked: Registers are unlocked and can be accessed.; true (1) = Locked: Registers are locked and in read-only mode.
Sourcepub const fn set_write_prot_en(&mut self, val: bool)
pub const fn set_write_prot_en(&mut self, val: bool)
Write Protect Enable Status. Raw bit values: false (0) = Unlocked: Registers are unlocked and can be accessed.; true (1) = Locked: Registers are locked and in read-only mode.
Sourcepub const fn set_cmp_int(&mut self, val: bool)
pub const fn set_cmp_int(&mut self, val: bool)
Compensation Interval.
Sourcepub const fn we(&self) -> RtcAlphaEnumPapaAlpha
pub const fn we(&self) -> RtcAlphaEnumPapaAlpha
Write Enable.
Sourcepub const fn set_we(&mut self, val: RtcAlphaEnumPapaAlpha)
pub const fn set_we(&mut self, val: RtcAlphaEnumPapaAlpha)
Write Enable.
Sourcepub const fn bus_err(&self) -> bool
pub const fn bus_err(&self) -> bool
Bus Error. Raw bit values: false (0) = Normal: Read and write accesses are normal.; true (1) = Asserted: Read or write accesses occurred when STATUS[INVAL_BIT] was asserted.
Sourcepub const fn set_bus_err(&mut self, val: bool)
pub const fn set_bus_err(&mut self, val: bool)
Bus Error. Raw bit values: false (0) = Normal: Read and write accesses are normal.; true (1) = Asserted: Read or write accesses occurred when STATUS[INVAL_BIT] was asserted.
Sourcepub const fn cmp_done(&self) -> bool
pub const fn cmp_done(&self) -> bool
Compensation Done. Raw bit values: false (0) = Disabled: Compensation busy or not enabled.; true (1) = Enabled: Compensation completed.
Sourcepub const fn set_cmp_done(&mut self, val: bool)
pub const fn set_cmp_done(&mut self, val: bool)
Compensation Done. Raw bit values: false (0) = Disabled: Compensation busy or not enabled.; true (1) = Enabled: Compensation completed.
Trait Implementations§
Source§impl Clone for RtcAlphaFieldsetPapa
impl Clone for RtcAlphaFieldsetPapa
Source§fn clone(&self) -> RtcAlphaFieldsetPapa
fn clone(&self) -> RtcAlphaFieldsetPapa
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more