|
| const char * | esc_stick_reason_text (esc_stick_reason_t r) |
| | A word or two for the screen.
|
| esc_stick_reason_t | esc_stick_stop_reason (uint32_t stops, uint32_t pressed) |
| | The end stops stops give, pressed of them pressed by an operator, both counted over the same span: STOP when every one was pressed, BENCH STOPPED when any was not, so a stop the bench raised is never hidden by a press that came with it.
|
| bool | esc_stick_reason_is_fault (esc_stick_reason_t r) |
| | Whether a run that ended for r ended because something was not as expected: a reading, the supply, the link, the arm, the ESC, or a stop the bench raised itself.
|
| const char * | esc_stick_phase_text (esc_stick_phase_t ph) |
| | Short text for a run phase.
|
| bool | esc_stick_running (const esc_stick_t *e) |
| | Whether the run is under way: started and neither done nor aborted.
|
| const esc_stick_out_t * | esc_stick_out (const esc_stick_t *e) |
| | What the bench is to do now.
|
| unsigned | esc_stick_done_count (const esc_stick_t *e) |
| | How many selections have been made.
|
| bool | esc_stick_unsure (const esc_stick_t *e, unsigned i) |
| | Whether change i was selected, but the run was cut short before the ESC stored or confirmed it (esc_stick_cut_short()): the selection being stored when the run ended.
|
| unsigned | esc_stick_made_count (const esc_stick_t *e) |
| | The selections made for certain: esc_stick_done_count() less the one esc_stick_unsure() names.
|
| unsigned | esc_stick_beeps (const esc_stick_t *e) |
| | The beeps of the group under way.
|
Stick programming: the readouts of a run.
The words for each reason and phase, whether an end lights the red light, and what a run has done so far. See esc_stick.h.
SPDX-License-Identifier: MIT
Whether a run that ended for r ended because something was not as expected: a reading, the supply, the link, the arm, the ESC, or a stop the bench raised itself.
False for the ends an operator chose (STOP pressed, ABORT, leaving the screen) and for none. The screen's red light.
- Parameters
-
- Returns
- true for a fault.