#[repr(transparent)]pub struct Status(pub u16);Expand description
Status.
Tuple Fields§
§0: u16Implementations§
Source§impl Status
impl Status
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.
Sourcepub const fn write_prot_en(&self) -> bool
pub const fn write_prot_en(&self) -> bool
Write Protect Enable Status.
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.
Sourcepub const fn dwn_cntr_inval_bit(&self) -> bool
pub const fn dwn_cntr_inval_bit(&self) -> bool
Down Counter Invalidate Read/Write Access. Raw bit values: false (0) = Valid: Count down timer can be changed or read.; true (1) = Invalid: Count down timer (if running) is changing value and cannot be read or written.
Sourcepub const fn set_dwn_cntr_inval_bit(&mut self, val: bool)
pub const fn set_dwn_cntr_inval_bit(&mut self, val: bool)
Down Counter Invalidate Read/Write Access. Raw bit values: false (0) = Valid: Count down timer can be changed or read.; true (1) = Invalid: Count down timer (if running) is changing value and cannot be read or written.
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 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 set_cmp_done(&mut self, val: bool)
pub const fn set_cmp_done(&mut self, val: bool)
Compensation Done.