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

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

Detailed Description

The outcome of an operation that ended, as the link module reports it.

Field Documentation

◆ bad_regs

uint32_t kst_link_outcome_t::bad_regs

bit n: register n has no 3 equal reads

◆ diff_regs

uint32_t kst_link_outcome_t::diff_regs

bit n: register n differs

◆ fail_reg

uint8_t kst_link_outcome_t::fail_reg

the register result names; 0xFF none

◆ frames

uint16_t kst_link_outcome_t::frames

frames the operation sent, to 4095

◆ id

uint32_t kst_link_outcome_t::id

kst_link_request_t.id of the operation that ended

◆ nack

uint8_t kst_link_outcome_t::nack

KST_LINK_OUT_NACK: link_nack_t

◆ refusal

link_kst_refusal_t kst_link_outcome_t::refusal

KST_LINK_OUT_REFUSED

◆ result

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

◆ steps_done

uint8_t kst_link_outcome_t::steps_done

writes of the plan done

◆ taken

bool kst_link_outcome_t::taken

the page acknowledged the command: the operation may have run


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