|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The reply window as the driver saw it. More...
#include <kst_wire.h>
Data Fields | |
| uint32_t | window_ns |
| uint8_t | level0 |
| uint8_t | overflow |
| uint8_t | n_edges |
| uint32_t | edge_ns [KST_CAP_MAX_EDGES] |
The reply window as the driver saw it.
Times are in ns from the frame's last edge. The capture starts at KST_RELEASE_NS and ends at window_ns. edge_ns holds every level change in ascending order; the driver applies no filter.
| uint32_t kst_capture_t::edge_ns[KST_CAP_MAX_EDGES] |
level changes, ascending
| uint8_t kst_capture_t::level0 |
line level at the start, 0 or 1
| uint8_t kst_capture_t::n_edges |
edges in edge_ns
| uint8_t kst_capture_t::overflow |
1: more edges than the buffer holds
| uint32_t kst_capture_t::window_ns |
end of the capture