|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The state of the servo programmer. More...
#include <kst_prog.h>
The state of the servo programmer.
| bool kst_prog_t::armed |
| bool kst_prog_t::backed_up |
a file holds this session's servo
| char kst_prog_t::backup[KST_PROG_NAME_MAX] |
the file of backed_up
| uint16_t kst_prog_t::caps_ma |
the supply's current limit, mA; 0 for none
| uint16_t kst_prog_t::caps_mv |
the supply's limits, 0 for none
| bool kst_prog_t::card_auto |
the save a write waits for
| uint16_t kst_prog_t::card_first |
of the list asked for
| uint32_t kst_prog_t::card_ms |
when the card operation was started, ms
| char kst_prog_t::card_name[KST_PROG_NAME_MAX] |
the file saved or loaded
| uint8_t kst_prog_t::card_op |
kst_prog_card_op_t on its way
| bool kst_prog_t::card_ready |
and not taken yet
| bool kst_prog_t::chain_read |
READ_ALL follows the ENTER
| kst_prog_cmd_t kst_prog_t::cmd |
the command waiting to be taken
| bool kst_prog_t::cmd_fetch |
whether a FETCH command is owed to the link task
| bool kst_prog_t::cmd_out |
the START awaited was handed out
| bool kst_prog_t::cmd_ready |
whether cmd holds a command not yet taken
| bool kst_prog_t::cmd_run |
and its pass was taken: it is carried out or was
| uint16_t kst_prog_t::conf_raw[KST_F_COUNT] |
the value a soft rule was confirmed for
| kst_field_set_t kst_prog_t::conf_set |
fields with a confirmed value
| kst_image_t kst_prog_t::draft |
what the operator made of it
| uint32_t kst_prog_t::fetch_ms |
when the backup was last fetched, ms
| bool kst_prog_t::fetched |
whether a backup was fetched this session
| uint8_t kst_prog_t::file_for |
what the write on its way is for
| uint8_t kst_prog_t::file_next |
what the write wanted is for
| bool kst_prog_t::file_retry |
the card owes the file
| uint32_t kst_prog_t::file_retry_ms |
when the card last owed the file, ms
| bool kst_prog_t::file_stale |
the text on its way is of before the write that waits: its answer is not that write's
| uint8_t kst_prog_t::file_types[KST_PROG_FILES_MAX] |
per listed file, its kst_prog_file_kind_t
| char kst_prog_t::files[KST_PROG_FILES_MAX][KST_PROG_NAME_MAX] |
the listed files' names
| uint16_t kst_prog_t::files_first |
of the last list
| uint8_t kst_prog_t::files_n |
files in the list
| uint32_t kst_prog_t::files_seq |
counts the lists that arrived
| uint16_t kst_prog_t::files_total |
files the card holds in all
| uint16_t kst_prog_t::floor_mv |
the lowest voltage of a session; 0 for none
| kst_prog_gate_t* kst_prog_t::gate |
| kst_link_request_t kst_prog_t::held |
the request the file goes before
| kst_image_t kst_prog_t::held_before |
the target of the earlier write's record
| bool kst_prog_t::held_journal |
the held write recorded the journal
| bool kst_prog_t::held_no_file |
and the held write is such a one
| bool kst_prog_t::held_over |
over the record of an earlier write, whose target is in held_before
| kst_image_t kst_prog_t::held_target |
and what it is to leave
| kst_field_set_t kst_prog_t::held_wrote |
those of the write that is held, not taken yet
| bool kst_prog_t::journal |
an image is recorded
| kst_image_t kst_prog_t::journal_img |
the servo before the write
| bool kst_prog_t::journal_open |
and the servo was not compared
| bool kst_prog_t::journal_other |
the servo read is not the journal's
| uint8_t kst_prog_t::journal_pin |
the GPIO of journal_port at the write, KST_PROG_NO_PIN not known
| kst_image_t kst_prog_t::journal_target |
and what the write was to leave
| bool kst_prog_t::keep |
keep_draft holds the pending values of before a restore that is not started yet
| kst_image_t kst_prog_t::keep_draft |
the pending values kept before a restore
| bool kst_prog_t::keep_soft |
the soft limits kept with keep_draft
| bool kst_prog_t::keep_soft_load |
whether the kept edit is a file
| uint32_t kst_prog_t::late_id |
the save given up at KST_PROG_CARD_MS; 0 for none
| kst_image_t kst_prog_t::late_img |
and the image it was asked with
| bool kst_prog_t::leave_doubt |
the exit runs without LEAVE: the port asks for a read or holds a servo in doubt, no PD mini answers
| uint8_t kst_prog_t::load_fields |
of this many; 0 not counted
| uint8_t kst_prog_t::load_kind |
| uint8_t kst_prog_t::load_named |
fields the file gives a value for
| kst_field_set_t kst_prog_t::load_skipped |
fields of the loaded file the servo's model skipped
| bool kst_prog_t::need_read |
the servo's image is in doubt
| bool kst_prog_t::no_file |
a write went with no card for one
| uint8_t kst_prog_t::op |
link_kst_op_t on its way
| kst_plan_t kst_prog_t::plan |
work space; not on the stack
| uint8_t kst_prog_t::plan_n |
registers the write on its way writes; 0 not known
| uint8_t kst_prog_t::port |
the programming port the session works on
| char kst_prog_t::preset[KST_PROG_NAME_MAX] |
the next preset name
| uint16_t kst_prog_t::pwm_wait_ms |
from the end of a session to PWM
| uint8_t kst_prog_t::restoring |
kst_prog_from_t of that write
| char kst_prog_t::run_backup[KST_PROG_NAME_MAX] |
the file of run_img; "" none
| uint32_t kst_prog_t::run_ms |
when the wait for the outcome began
| bool kst_prog_t::run_own |
the run is under way: its sessions take the file of its first write
| bool kst_prog_t::run_written |
the run's first write was sent
| kst_image_t kst_prog_t::servo |
the servo as last read
| bool kst_prog_t::soft_load |
the edit that waits is a file
| kst_field_set_t kst_prog_t::soft_skipped |
of the file that waits
| uint16_t kst_prog_t::supply_ma |
what an ENTER asks of the PD mini, mA
| uint16_t kst_prog_t::supply_mv |
what an ENTER asks of the PD mini
| uint8_t kst_prog_t::wait |
what is awaited
| uint32_t kst_prog_t::wait_id |
id of the start the session waits for
| uint32_t kst_prog_t::wait_ms |
when the wait for the port began, ms
| uint8_t kst_prog_t::writes |
fields the write on its way changes
| bool kst_prog_t::written |
a write was sent in this session
| kst_field_set_t kst_prog_t::wrote |
fields the session's writes set out to change: of the writes whose command was taken
| kst_field_set_t kst_prog_t::wrote_before |
wrote before the last write was taken: what stands when that write ends with no register written
| bool kst_prog_t::wrote_known |
the session began under this model: wrote is all of them