|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The state of the KST link module. More...
#include <kst_link.h>
Data Fields | |
| bool | up |
| bool | page |
| uint16_t | minor |
| bool | known |
| uint8_t | phase |
| uint8_t | pending |
| uint8_t | tries |
| bool | was_held |
| uint16_t | status [LINK_KS_W_CMD_FRAME] |
| bool | polled |
| bool | poll_now |
| uint32_t | status_ms |
| uint16_t | seq |
| bool | active |
| bool | verdict |
| bool | taken |
| uint8_t | op |
| uint32_t | id |
| uint8_t | stage_at |
| uint16_t | staged [LINK_KS_W_STAGED] |
| bool | supply_due |
| uint16_t | supply [2] |
| bool | leave_due |
| uint16_t | leave_ms |
| uint16_t | cmd_proto [LINK_KS_W_CMD_FRAME] |
| bool | cmd_live |
| bool | cmd_abort |
| bool | cmd_doubt |
| uint16_t | cmd [LINK_KS_W_CMD_FRAME] |
| bool | abort_wanted |
| uint8_t | fetch |
| uint16_t | end_status [LINK_KS_W_CMD_FRAME] |
| bool | have_results |
| uint16_t | results [LINK_KS_IMAGE - LINK_KS_FAIL] |
| bool | have_image |
| uint16_t | image_regs [LINK_KS_IMAGE_REGS] |
| bool | have_backup |
| uint16_t | backup_regs [LINK_KS_IMAGE_REGS] |
| bool | outcome_new |
| kst_link_outcome_t | outcome |
The state of the KST link module.
| bool kst_link_t::active |
an operation is on its way
| bool kst_link_t::cmd_doubt |
the operation's command went without an answer and an abort came: it is not sent again, and the next status read says whether the page took it
| uint16_t kst_link_t::cmd_proto[LINK_KS_W_CMD_FRAME] |
the command less its SEQ
| uint16_t kst_link_t::end_status[LINK_KS_W_CMD_FRAME] |
status as the operation ended
| uint8_t kst_link_t::fetch |
the step of the fetch
| uint32_t kst_link_t::id |
| bool kst_link_t::known |
status was read since the link came up
| bool kst_link_t::leave_due |
a LEAVE's wait register is owed
| uint16_t kst_link_t::leave_ms |
LEAVE_MS
| uint16_t kst_link_t::minor |
the IOmcu's protocol minor
| uint8_t kst_link_t::op |
| uint8_t kst_link_t::pending |
the exchange in flight
| uint8_t kst_link_t::phase |
kst_link_phase_t, never KST_LINK_PLANNING: that is KST_LINK_RUNNING here
| bool kst_link_t::poll_now |
a status read is owed at once
| bool kst_link_t::polled |
status_ms is meaningful
| uint16_t kst_link_t::seq |
the page's SEQ
| uint8_t kst_link_t::stage_at |
staged windows written, to STAGE_WINDOWS
| uint32_t kst_link_t::status_ms |
when status was last asked
| uint16_t kst_link_t::supply[2] |
SUPPLY_MV, SUPPLY_MA
| bool kst_link_t::supply_due |
an ENTER's supply registers are owed
| bool kst_link_t::taken |
its command was acknowledged
| uint8_t kst_link_t::tries |
exchanges unanswered in a row
| bool kst_link_t::verdict |
its command was taken; the status that says what became of it is owed
| bool kst_link_t::was_held |
the status last read had the port out of PWM