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

The screen's copy: a plain value the control task fills and the renderer reads. More...

#include <kst_link.h>

Data Fields

kst_link_phase_t phase
bool known
bool was_held
link_kst_state_t port
uint8_t port_no
uint16_t flags
link_kst_op_t op
uint16_t frames
bool have_image
bool have_backup
bool have_results
uint16_t fp_rules
uint32_t fp_regs
uint16_t half_min_ns
uint16_t half_max_ns
uint16_t delay_min_us
uint16_t delay_max_us

Detailed Description

The screen's copy: a plain value the control task fills and the renderer reads.

Field Documentation

◆ delay_max_us

uint16_t kst_link_readout_t::delay_max_us

reply delay, longest, µs; 0 none measured

◆ delay_min_us

uint16_t kst_link_readout_t::delay_min_us

reply delay, 0 none measured

◆ flags

uint16_t kst_link_readout_t::flags

LINK_KS_F_*

◆ fp_regs

uint32_t kst_link_readout_t::fp_regs

bit n: register n deviates from it

◆ fp_rules

uint16_t kst_link_readout_t::fp_rules

bit n: fingerprint rule n is broken

◆ frames

uint16_t kst_link_readout_t::frames

frames it has sent, to 4095

◆ half_max_ns

uint16_t kst_link_readout_t::half_max_ns

the servo's longest half-cell, ns; 0 none measured

◆ half_min_ns

uint16_t kst_link_readout_t::half_min_ns

the servo's half-cell, 0 none measured

◆ have_backup

bool kst_link_readout_t::have_backup

◆ have_image

bool kst_link_readout_t::have_image

◆ have_results

bool kst_link_readout_t::have_results

the fields below were read

◆ known

bool kst_link_readout_t::known

the fields below were read

◆ op

link_kst_op_t kst_link_readout_t::op

the last operation the port started

◆ port

link_kst_state_t kst_link_readout_t::port

where the port is

◆ port_no

uint8_t kst_link_readout_t::port_no

which port: the one last commanded

◆ was_held

bool kst_link_readout_t::was_held

the status last read on this link had the port out of PWM: what stands while the status is not known


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