|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The outcome of a request that ended. More...
#include <hitec_link.h>
Data Fields | |
| hitec_link_outcome_kind_t | kind |
| link_hitec_op_t | op |
| uint8_t | port |
| uint32_t | id |
| link_hitec_refusal_t | refusal |
| uint8_t | nack |
| bool | taken |
| uint8_t | result |
| hitec_ses_result_t | ses |
| The step's result for hitec_session_feed(): RAN for a request that ended LINK_HITEC_RESULT_DONE, with the decoder's code and value; CUT for one that ended LINK_HITEC_RESULT_CUT; FAILED for every other outcome. | |
| bool | have_cap |
| uint16_t | cap |
| uint8_t | answer_id |
| uint8_t | n |
| uint8_t | bytes [HITEC_RX_MAX] |
| bool | have_run |
| uint32_t | delay_ns |
| uint32_t | t_us |
| uint32_t | window_us |
| uint16_t | framing |
The outcome of a request that ended.
| uint8_t hitec_link_outcome_t::answer_id |
LINK_HT_DEC's high byte: the D series answer's ID
| uint8_t hitec_link_outcome_t::bytes[HITEC_RX_MAX] |
the bytes, in the order they came
| uint16_t hitec_link_outcome_t::cap |
LINK_HT_CAP as read
| uint32_t hitec_link_outcome_t::delay_ns |
the decoder's delay, ns
| uint16_t hitec_link_outcome_t::framing |
bit k: byte k's stop bit was bad
| bool hitec_link_outcome_t::have_cap |
a step's capture is below
| bool hitec_link_outcome_t::have_run |
registers 16 to 31 were read with VIEW 2, for this capture
| uint32_t hitec_link_outcome_t::id |
the caller's number of the request
| hitec_link_outcome_kind_t hitec_link_outcome_t::kind |
how it went
| uint8_t hitec_link_outcome_t::n |
bytes held, 0 to HITEC_RX_MAX
| uint8_t hitec_link_outcome_t::nack |
HITEC_LINK_OUT_NACK: link_nack_t
| link_hitec_op_t hitec_link_outcome_t::op |
OPEN, CLOSE, CLEAR, SEND, LISTEN, LEVEL or POWER
| uint8_t hitec_link_outcome_t::port |
the port the request named
| link_hitec_refusal_t hitec_link_outcome_t::refusal |
HITEC_LINK_OUT_REFUSED
| uint8_t hitec_link_outcome_t::result |
HITEC_LINK_OUT_DONE: link_hitec_result_t
| uint32_t hitec_link_outcome_t::t_us |
from the start to the capture, us
| bool hitec_link_outcome_t::taken |
the page took the command: it may have run
| uint32_t hitec_link_outcome_t::window_us |
the window the capture asked, us