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

A decoded reply window. More...

#include <kst_wire.h>

Data Fields

uint8_t result
uint8_t value
uint8_t flags
uint8_t glitches
uint32_t delay_ns
uint32_t half_cell_ns

Detailed Description

A decoded reply window.

Field Documentation

◆ delay_ns

uint32_t kst_reply_t::delay_ns

last master edge to first rising edge

◆ flags

uint8_t kst_reply_t::flags

the 2 bits after the start bit

◆ glitches

uint8_t kst_reply_t::glitches

levels shorter than KST_GLITCH_NS removed

◆ half_cell_ns

uint32_t kst_reply_t::half_cell_ns

mean over the 10 cells, rounded to nearest

◆ result

uint8_t kst_reply_t::result

◆ value

uint8_t kst_reply_t::value

the 8 data bits; valid with KST_RX_OK


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