rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
esc_stick_t Struct Reference

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

Detailed Description

State of one stick programming run.

Field Documentation

◆ active

uint8_t esc_stick_t::active

the change being made

◆ armed_seen

bool esc_stick_t::armed_seen

whether the bench has been seen ARMED during ARMING

◆ cycle_moved

bool esc_stick_t::cycle_moved

the stick is at the entry

◆ end_open

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

◆ entries

uint8_t esc_stick_t::entries

power-ups this run

◆ entry

esc_throttle_t esc_stick_t::entry

this power-up's position

◆ entry_wait

uint32_t esc_stick_t::entry_wait

this power-up's power-on to the menu, ms, kept after its change is made

◆ groups

uint32_t esc_stick_t::groups

groups heard this run

◆ hand

uint8_t esc_stick_t::hand

the manual step asked, an index into p->manual

◆ hand_done

bool esc_stick_t::hand_done

DONE taken, for the next step to act on

◆ hand_menu

bool esc_stick_t::hand_menu

the menu is counted while the action that starts it is asked for

◆ hand_ms

uint32_t esc_stick_t::hand_ms

when the step was asked

◆ have_reading

bool esc_stick_t::have_reading

one since this power-up

◆ heard_ms

uint32_t esc_stick_t::heard_ms

the last pulse, or the listening's start

◆ hi

uint8_t esc_stick_t::hi

the loop's lowest, highest

◆ iv_ms

uint32_t esc_stick_t::iv_ms

the last reading interval

◆ last_in_order

bool esc_stick_t::last_in_order

the last group followed its predecessor

◆ last_trusted

bool esc_stick_t::last_trusted

and so did that one: the last group could be acted on

◆ link_seen

bool esc_stick_t::link_seen

the link was up at some time

◆ now_ms

uint32_t esc_stick_t::now_ms

the bench time of the newest step, ms

◆ off_asked_ms

uint32_t esc_stick_t::off_asked_ms

when the run asked it off

◆ off_seen

bool esc_stick_t::off_seen

the output is off: reported, and settled

◆ off_seq

uint32_t esc_stick_t::off_seq

the reading count then

◆ off_since_known

bool esc_stick_t::off_since_known

whether off_since_ms is set

◆ off_since_ms

uint32_t esc_stick_t::off_since_ms

reported off from here

◆ on_ms

uint32_t esc_stick_t::on_ms

when the output came on

◆ phase_ms

uint32_t esc_stick_t::phase_ms

when this phase began

◆ prev

uint8_t esc_stick_t::prev

0: no group to follow

◆ prev_trusted

bool esc_stick_t::prev_trusted

prev was reached in order

◆ pulses

uint32_t esc_stick_t::pulses

pulses begun this run: the detector's rises

◆ read_ms

uint32_t esc_stick_t::read_ms

the newest reading's time

◆ reported_on

bool esc_stick_t::reported_on

the newest sample's

◆ run

uint8_t esc_stick_t::run

groups of prev in a row

◆ sig_moved

bool esc_stick_t::sig_moved

the first power-up's: the stick at the entry, the supply read off

◆ store_step

uint8_t esc_stick_t::store_step

moves made after the selection (esc_stick_store_ move())


The documentation for this struct was generated from the following file: