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

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

Detailed Description

The outcome of a request that ended.

Field Documentation

◆ answer_id

uint8_t hitec_link_outcome_t::answer_id

LINK_HT_DEC's high byte: the D series answer's ID

◆ bytes

uint8_t hitec_link_outcome_t::bytes[HITEC_RX_MAX]

the bytes, in the order they came

◆ cap

uint16_t hitec_link_outcome_t::cap

LINK_HT_CAP as read

◆ delay_ns

uint32_t hitec_link_outcome_t::delay_ns

the decoder's delay, ns

◆ framing

uint16_t hitec_link_outcome_t::framing

bit k: byte k's stop bit was bad

◆ have_cap

bool hitec_link_outcome_t::have_cap

a step's capture is below

◆ have_run

bool hitec_link_outcome_t::have_run

registers 16 to 31 were read with VIEW 2, for this capture

◆ id

uint32_t hitec_link_outcome_t::id

the caller's number of the request

◆ kind

hitec_link_outcome_kind_t hitec_link_outcome_t::kind

how it went

◆ n

uint8_t hitec_link_outcome_t::n

bytes held, 0 to HITEC_RX_MAX

◆ nack

uint8_t hitec_link_outcome_t::nack

HITEC_LINK_OUT_NACK: link_nack_t

◆ op

link_hitec_op_t hitec_link_outcome_t::op

OPEN, CLOSE, CLEAR, SEND, LISTEN, LEVEL or POWER

◆ port

uint8_t hitec_link_outcome_t::port

the port the request named

◆ refusal

link_hitec_refusal_t hitec_link_outcome_t::refusal

HITEC_LINK_OUT_REFUSED

◆ result

uint8_t hitec_link_outcome_t::result

HITEC_LINK_OUT_DONE: link_hitec_result_t

◆ t_us

uint32_t hitec_link_outcome_t::t_us

from the start to the capture, us

◆ taken

bool hitec_link_outcome_t::taken

the page took the command: it may have run

◆ window_us

uint32_t hitec_link_outcome_t::window_us

the window the capture asked, us


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