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

The far end's sweep phase as the host times it, from the acknowledgements of the writes that start, hold and resume it: when the curve's phase 0 is on the host's clock, and the phase a hold kept. More...

#include <servo_page.h>

Data Fields

uint32_t start_ms
uint32_t kept_ms
bool kept

Detailed Description

The far end's sweep phase as the host times it, from the acknowledgements of the writes that start, hold and resume it: when the curve's phase 0 is on the host's clock, and the phase a hold kept.

The far end times each from when the write reached it; the reply's delay is in every acknowledgement alike, so it cancels in the differences.

Field Documentation

◆ kept

bool servo_phase_t::kept

a hold of a running sweep, not yet resumed

◆ kept_ms

uint32_t servo_phase_t::kept_ms

how far into the curve a hold kept it

◆ start_ms

uint32_t servo_phase_t::start_ms

phase 0 of the curve, on the host's clock


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