In the Sticky Over and Sticky Under modes, the flags are cleared according to the mode set by XRFdc_SetThresholdClrMode:
- In manual mode, the thresholds are cleared with the API function XRFdc_ThresholdStickyClear.
- In Auto-Clear mode, the thresholds are cleared on the event set by XRFdc_SetQMCSettings. The XRFdc_SetQMCSettings can set the event source type once, at any time. Events of
this type occurring afterwards will clear the thresholds, including
adcXY_pl_event
from the port and XRFdc_UpdateEvent with type matching the event source set by XRFdc_SetQMCSettings.