|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
One 50ms window of INA3221 CH1, as the window ring carries it (sense_link_win_t). More...
#include <servo_test_io.h>
Data Fields | |
| uint16_t | number |
| bool | current |
| bool | voltage |
| uint8_t | clipped |
| int16_t | mean_ma |
| int16_t | max_ma |
| int16_t | min_ma |
| uint16_t | mean_mv |
| uint16_t | min_mv |
| uint32_t | taken_ms |
| The latest it can have closed, on the run's clock (sense_link_win_t.taken_ms): windows that arrive together carry times 50ms apart. | |
One 50ms window of INA3221 CH1, as the window ring carries it (sense_link_win_t).
A clipped sample counts in the three currents at the end of the range it read.
| uint8_t servo_test_win_t::clipped |
samples at an end of the range
| bool servo_test_win_t::current |
it holds current samples
| int16_t servo_test_win_t::max_ma |
the highest current, mA, signed
| int16_t servo_test_win_t::mean_ma |
the mean current, mA, signed
| uint16_t servo_test_win_t::mean_mv |
the mean bus voltage at the load side of the shunt, mV
| int16_t servo_test_win_t::min_ma |
the lowest current, mA, signed
| uint16_t servo_test_win_t::min_mv |
the lowest of it, mV
| uint16_t servo_test_win_t::number |
the window's, modulo 65536
| uint32_t servo_test_win_t::taken_ms |
The latest it can have closed, on the run's clock (sense_link_win_t.taken_ms): windows that arrive together carry times 50ms apart.
The window began SERVO_TEST_WIN_MS before.
| bool servo_test_win_t::voltage |
it holds bus voltage samples