|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The outcome of an operation that ended, as the link module reports it. More...
#include <kst_link.h>
Data Fields | |
| kst_link_outcome_kind_t | kind |
| link_kst_op_t | op |
| uint32_t | id |
| link_kst_refusal_t | refusal |
| uint8_t | nack |
| bool | taken |
| uint8_t | result |
| uint8_t | fail_reg |
| uint8_t | steps_done |
| uint16_t | frames |
| uint32_t | diff_regs |
| uint32_t | bad_regs |
The outcome of an operation that ended, as the link module reports it.
| uint32_t kst_link_outcome_t::bad_regs |
bit n: register n has no 3 equal reads
| uint32_t kst_link_outcome_t::diff_regs |
bit n: register n differs
| uint8_t kst_link_outcome_t::fail_reg |
the register result names; 0xFF none
| uint16_t kst_link_outcome_t::frames |
frames the operation sent, to 4095
| uint32_t kst_link_outcome_t::id |
kst_link_request_t.id of the operation that ended
| uint8_t kst_link_outcome_t::nack |
KST_LINK_OUT_NACK: link_nack_t
| link_kst_refusal_t kst_link_outcome_t::refusal |
KST_LINK_OUT_REFUSED
| uint8_t kst_link_outcome_t::result |
KST_LINK_OUT_DONE: the low byte of LINK_KS_RESULT, a kst_ses_t value (0 to 20) or LINK_KST_RESULT_SUPPLY, _NO_PATH or _TOO_COMPLEX (32 to 34); a byte, since the enum does not hold the last three
| uint8_t kst_link_outcome_t::steps_done |
writes of the plan done
| bool kst_link_outcome_t::taken |
the page acknowledged the command: the operation may have run