|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
State of one stick programming run. More...
#include <esc_stick.h>
Data Fields | |
| const esc_profile_t * | p |
| esc_stick_kind_t | kind |
| esc_stick_timing_t | t |
| esc_stick_change_t | ch [ESC_STICK_MAX_CHANGES] |
| uint8_t | n |
| bool | done [ESC_STICK_MAX_CHANGES] |
| uint8_t | active |
| esc_stick_phase_t | phase |
| esc_stick_reason_t | reason |
| uint32_t | phase_ms |
| uint32_t | now_ms |
| uint32_t | stops0 |
| uint32_t | pressed0 |
| bool | link0 |
| bool | link_seen |
| bool | off_seen |
| bool | reported_on |
| uint32_t | off_asked_ms |
| uint32_t | off_seq |
| uint32_t | off_since_ms |
| bool | off_since_known |
| uint8_t | store_step |
| bool | cycle_moved |
| bool | sig_moved |
| bool | armed_seen |
| esc_stick_out_t | out |
| bool | have_sample |
| uint32_t | seq |
| uint32_t | read_ms |
| bool | have_reading |
| bool | output |
| bool | online |
| bool | current_ok |
| int32_t | ma |
| uint32_t | on_ms |
| uint32_t | late_run |
| uint32_t | iv_ms |
| esc_det_t | det |
| uint32_t | heard_ms |
| uint8_t | prev |
| bool | prev_trusted |
| uint8_t | run |
| uint8_t | lo |
| uint8_t | hi |
| uint32_t | groups |
| uint8_t | last_count |
| bool | last_valid |
| bool | last_in_order |
| bool | last_trusted |
| uint8_t | entries |
| esc_throttle_t | entry |
| uint32_t | entry_wait |
| uint8_t | hand |
| bool | hand_done |
| bool | hand_menu |
| uint32_t | hand_ms |
| bool | end_open |
| uint32_t | pulses |
State of one stick programming run.
| uint8_t esc_stick_t::active |
the change being made
| bool esc_stick_t::armed_seen |
whether the bench has been seen ARMED during ARMING
| bool esc_stick_t::cycle_moved |
the stick is at the entry
| bool esc_stick_t::end_open |
the value is selected and the profile has a before_power_off step not yet confirmed: an end now switches the supply off under the ESC's store or confirmation
| uint8_t esc_stick_t::entries |
power-ups this run
| esc_throttle_t esc_stick_t::entry |
this power-up's position
| uint32_t esc_stick_t::entry_wait |
this power-up's power-on to the menu, ms, kept after its change is made
| uint32_t esc_stick_t::groups |
groups heard this run
| uint8_t esc_stick_t::hand |
the manual step asked, an index into p->manual
| bool esc_stick_t::hand_done |
DONE taken, for the next step to act on
| bool esc_stick_t::hand_menu |
the menu is counted while the action that starts it is asked for
| uint32_t esc_stick_t::hand_ms |
when the step was asked
| bool esc_stick_t::have_reading |
one since this power-up
| uint32_t esc_stick_t::heard_ms |
the last pulse, or the listening's start
| uint8_t esc_stick_t::hi |
the loop's lowest, highest
| uint32_t esc_stick_t::iv_ms |
the last reading interval
| bool esc_stick_t::last_in_order |
the last group followed its predecessor
| bool esc_stick_t::last_trusted |
and so did that one: the last group could be acted on
| bool esc_stick_t::link_seen |
the link was up at some time
| uint32_t esc_stick_t::now_ms |
the bench time of the newest step, ms
| uint32_t esc_stick_t::off_asked_ms |
when the run asked it off
| bool esc_stick_t::off_seen |
the output is off: reported, and settled
| uint32_t esc_stick_t::off_seq |
the reading count then
| bool esc_stick_t::off_since_known |
whether off_since_ms is set
| uint32_t esc_stick_t::off_since_ms |
reported off from here
| uint32_t esc_stick_t::on_ms |
when the output came on
| uint32_t esc_stick_t::phase_ms |
when this phase began
| uint8_t esc_stick_t::prev |
0: no group to follow
| bool esc_stick_t::prev_trusted |
prev was reached in order
| uint32_t esc_stick_t::pulses |
pulses begun this run: the detector's rises
| uint32_t esc_stick_t::read_ms |
the newest reading's time
| bool esc_stick_t::reported_on |
the newest sample's
| uint8_t esc_stick_t::run |
groups of prev in a row
| bool esc_stick_t::sig_moved |
the first power-up's: the stick at the entry, the supply read off
| uint8_t esc_stick_t::store_step |
moves made after the selection (esc_stick_store_ move())