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

The programmer's state. More...

#include <hitec_prog.h>

Data Fields

hitec_prog_feed_t f
bool fed
uint32_t outcomes_seen
uint32_t next_id
hitec_session_t ses
uint8_t series
uint8_t port
uint8_t st
uint8_t op
bool owned
bool lost
bool armed
bool reenter
uint16_t supply_mv
uint16_t supply_ma
uint16_t caps_mv
uint16_t caps_ma
uint16_t mv_open
uint16_t ma_open
bool have_servo
hitec_image_t servo
hitec_model_t model
uint8_t wait
uint32_t wait_id
uint32_t wait_ms
bool cmd_ready
hitec_prog_cmd_t cmd
bool abort_ready
hitec_link_outcome_t last
bool have_last
hitec_prog_gate_t * gate
hitec_prog_msg_t msg
hitec_image_t draft
hitec_image_t wr_target
bool write_on
bool must_read
bool wrote
uint8_t wr_kind
uint8_t wr_values
uint64_t soft_has
int32_t soft_val [HITEC_P_COUNT]
bool pend
uint8_t pend_id
int32_t pend_value
uint16_t pend_rules
bool rec
bool rec_open
uint8_t rec_verdict
hitec_card_record_t rec_r
bool file_wanted
bool file_busy
bool file_rec
 The text out holds the record of the write that waits for it: a text taken before that write began is not its record.
uint32_t file_ms

Detailed Description

The programmer's state.

Field Documentation

◆ abort_ready

bool hitec_prog_t::abort_ready

an ABORT is owed to the link's task

◆ armed

bool hitec_prog_t::armed

◆ caps_ma

uint16_t hitec_prog_t::caps_ma

the SUPPLY limit, mA; 0 none

◆ caps_mv

uint16_t hitec_prog_t::caps_mv

the SUPPLY limit, mV; 0 none

◆ cmd

hitec_prog_cmd_t hitec_prog_t::cmd

the command for the link's task

◆ cmd_ready

bool hitec_prog_t::cmd_ready

cmd is not taken yet

◆ draft

hitec_image_t hitec_prog_t::draft

the servo read with the edits

◆ f

hitec_prog_feed_t hitec_prog_t::f

this frame's feed

◆ fed

bool hitec_prog_t::fed

a feed came

◆ file_busy

bool hitec_prog_t::file_busy

and out

◆ file_ms

uint32_t hitec_prog_t::file_ms

when a write began to wait for it

◆ file_wanted

bool hitec_prog_t::file_wanted

the record's text is due on the card

◆ gate

◆ have_last

bool hitec_prog_t::have_last

last holds one

◆ have_servo

bool hitec_prog_t::have_servo

a full read ended well

◆ last

hitec_link_outcome_t hitec_prog_t::last

the outcome of the last step

◆ lost

bool hitec_prog_t::lost

a lost link took the session: the page's port is said when it comes back

◆ ma_open

uint16_t hitec_prog_t::ma_open

the current of the session's POWERs

◆ model

hitec_model_t hitec_prog_t::model

its model

◆ msg

hitec_prog_msg_t hitec_prog_t::msg

the last message

◆ must_read

bool hitec_prog_t::must_read

a write failed: READ ALL comes first

◆ mv_open

uint16_t hitec_prog_t::mv_open

the voltage of the session's POWERs

◆ next_id

uint32_t hitec_prog_t::next_id

the last command id given

◆ op

uint8_t hitec_prog_t::op

the session operation, private

◆ outcomes_seen

uint32_t hitec_prog_t::outcomes_seen

the feed's outcome count taken

◆ owned

bool hitec_prog_t::owned

this model opened the held port

◆ pend

bool hitec_prog_t::pend

an edit waits for a confirmation

◆ pend_id

uint8_t hitec_prog_t::pend_id

◆ pend_rules

uint16_t hitec_prog_t::pend_rules

the rules it breaks

◆ pend_value

int32_t hitec_prog_t::pend_value

its value

◆ port

uint8_t hitec_prog_t::port

the port the session works on

◆ rec

bool hitec_prog_t::rec

a record of a write stands

◆ rec_open

bool hitec_prog_t::rec_open

and no servo was compared with it

◆ rec_r

hitec_card_record_t hitec_prog_t::rec_r

the record

◆ rec_verdict

uint8_t hitec_prog_t::rec_verdict

hitec_prog_rec_t of the last compare

◆ reenter

bool hitec_prog_t::reenter

after CLEAR: the entry, not the read

◆ series

uint8_t hitec_prog_t::series

hitec_family_t the operator chose

◆ servo

hitec_image_t hitec_prog_t::servo

what that read found

◆ ses

hitec_session_t hitec_prog_t::ses

the session with the servo

◆ soft_has

uint64_t hitec_prog_t::soft_has

bit id: soft_val[id] is confirmed

◆ soft_val

int32_t hitec_prog_t::soft_val[HITEC_P_COUNT]

the values confirmed

◆ st

uint8_t hitec_prog_t::st

the request phase, private

◆ supply_ma

uint16_t hitec_prog_t::supply_ma

the current limit asked, mA

◆ supply_mv

uint16_t hitec_prog_t::supply_mv

the programming voltage asked, mV

◆ wait

uint8_t hitec_prog_t::wait

what is awaited, private

◆ wait_id

uint32_t hitec_prog_t::wait_id

the command awaited

◆ wait_ms

uint32_t hitec_prog_t::wait_ms

when the wait began

◆ wr_kind

uint8_t hitec_prog_t::wr_kind

hitec_prog_wr_t of the running write

◆ wr_target

hitec_image_t hitec_prog_t::wr_target

what the running write is to leave

◆ wr_values

uint8_t hitec_prog_t::wr_values

the values it changes

◆ write_on

bool hitec_prog_t::write_on

ENABLE WRITE TO SERVO

◆ wrote

bool hitec_prog_t::wrote

a write of this CONNECT went out


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