#[repr(transparent)]pub struct Stat2(pub u32);Expand description
Status Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Stat2
impl Stat2
Sourcepub const fn rdy0(&self) -> bool
pub const fn rdy0(&self) -> bool
Result FIFO 0 Ready Flag. Raw bit values: false (0) = BelowThreshold: Not above watermark.; true (1) = AboveThreshold: Above watermark.
Sourcepub const fn set_rdy0(&mut self, val: bool)
pub const fn set_rdy0(&mut self, val: bool)
Result FIFO 0 Ready Flag. Raw bit values: false (0) = BelowThreshold: Not above watermark.; true (1) = AboveThreshold: Above watermark.
Sourcepub const fn fof0(&self) -> bool
pub const fn fof0(&self) -> bool
Result FIFO 0 Overflow Flag. Raw bit values: false (0) = NoOverflow: No result FIFO 0 overflow has occurred since the last time that the flag was cleared.; true (1) = OverflowDetected: At least one result FIFO 0 overflow has occurred since the last time that the flag was cleared.
Sourcepub const fn set_fof0(&mut self, val: bool)
pub const fn set_fof0(&mut self, val: bool)
Result FIFO 0 Overflow Flag. Raw bit values: false (0) = NoOverflow: No result FIFO 0 overflow has occurred since the last time that the flag was cleared.; true (1) = OverflowDetected: At least one result FIFO 0 overflow has occurred since the last time that the flag was cleared.
Sourcepub const fn rdy1(&self) -> bool
pub const fn rdy1(&self) -> bool
Result FIFO1 Ready Flag. Raw bit values: false (0) = BelowThreshold: Not above watermark.; true (1) = AboveThreshold: Above watermark.
Sourcepub const fn set_rdy1(&mut self, val: bool)
pub const fn set_rdy1(&mut self, val: bool)
Result FIFO1 Ready Flag. Raw bit values: false (0) = BelowThreshold: Not above watermark.; true (1) = AboveThreshold: Above watermark.
Sourcepub const fn fof1(&self) -> bool
pub const fn fof1(&self) -> bool
Result FIFO1 Overflow Flag. Raw bit values: false (0) = NoOverflow: No result FIFO1 overflow has occurred since the last time that the flag was cleared.; true (1) = OverflowDetected: At least one result FIFO1 overflow has occurred since the last time that the flag was cleared.
Sourcepub const fn set_fof1(&mut self, val: bool)
pub const fn set_fof1(&mut self, val: bool)
Result FIFO1 Overflow Flag. Raw bit values: false (0) = NoOverflow: No result FIFO1 overflow has occurred since the last time that the flag was cleared.; true (1) = OverflowDetected: At least one result FIFO1 overflow has occurred since the last time that the flag was cleared.
Sourcepub const fn texc_int(&self) -> bool
pub const fn texc_int(&self) -> bool
Interrupt Flag For High-Priority Trigger Exception. Raw bit values: false (0) = NoException: No trigger exceptions have occurred.; true (1) = ExceptionDetected: A trigger exception has occurred and is pending acknowledgment.
Sourcepub const fn set_texc_int(&mut self, val: bool)
pub const fn set_texc_int(&mut self, val: bool)
Interrupt Flag For High-Priority Trigger Exception. Raw bit values: false (0) = NoException: No trigger exceptions have occurred.; true (1) = ExceptionDetected: A trigger exception has occurred and is pending acknowledgment.
Sourcepub const fn tcomp_int(&self) -> bool
pub const fn tcomp_int(&self) -> bool
Interrupt Flag For Trigger Completion. Raw bit values: false (0) = FlagClear: Either IE[TCOMP_IE] = 0, or no trigger sequences have run to completion.; true (1) = CompletionDetected: Trigger sequence has been completed and all data is stored in the associated FIFO.
Sourcepub const fn set_tcomp_int(&mut self, val: bool)
pub const fn set_tcomp_int(&mut self, val: bool)
Interrupt Flag For Trigger Completion. Raw bit values: false (0) = FlagClear: Either IE[TCOMP_IE] = 0, or no trigger sequences have run to completion.; true (1) = CompletionDetected: Trigger sequence has been completed and all data is stored in the associated FIFO.
Sourcepub const fn cal_rdy(&self) -> bool
pub const fn cal_rdy(&self) -> bool
Calibration Ready. Raw bit values: false (0) = NotSet: Calibration is incomplete or has not been run.; true (1) = HardwareCalStepCompleted: ADC is calibrated.
Sourcepub const fn set_cal_rdy(&mut self, val: bool)
pub const fn set_cal_rdy(&mut self, val: bool)
Calibration Ready. Raw bit values: false (0) = NotSet: Calibration is incomplete or has not been run.; true (1) = HardwareCalStepCompleted: ADC is calibrated.
Sourcepub const fn adc_active(&self) -> bool
pub const fn adc_active(&self) -> bool
ADC Active. Raw bit values: false (0) = NotActive: ADC is idle. There are no pending triggers to service and no active commands are being processed.; true (1) = Busy: ADC is processing a conversion, running through the power-up delay, or servicing a trigger.
Sourcepub const fn set_adc_active(&mut self, val: bool)
pub const fn set_adc_active(&mut self, val: bool)
ADC Active. Raw bit values: false (0) = NotActive: ADC is idle. There are no pending triggers to service and no active commands are being processed.; true (1) = Busy: ADC is processing a conversion, running through the power-up delay, or servicing a trigger.
Sourcepub const fn set_trgact(&mut self, val: Trgact)
pub const fn set_trgact(&mut self, val: Trgact)
Trigger Active.
Sourcepub const fn set_cmdact(&mut self, val: Cmdact2)
pub const fn set_cmdact(&mut self, val: Cmdact2)
Command Active.