|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
One 50ms window of every INA3221 channel, from SENSE_WIN_A and SENSE_WIN_B (protocol 4.25), for the log's columns per watched target: channel c = 3 a + CHn - 1 of the part at 0x40 + a. More...
#include <bench_state.h>
Data Fields | |
| uint16_t | window |
| uint16_t | ok |
| uint16_t | no_current |
| uint16_t | no_voltage |
| int16_t | mean_ma [BENCH_CHW_CHANNELS] |
| int16_t | max_ma [BENCH_CHW_CHANNELS] |
| uint16_t | min_mv [BENCH_CHW_CHANNELS] |
One 50ms window of every INA3221 channel, from SENSE_WIN_A and SENSE_WIN_B (protocol 4.25), for the log's columns per watched target: channel c = 3 a + CHn - 1 of the part at 0x40 + a.
Bit c of ok says channel c's window holds readings and was read under the window number window; of no_current that it holds no current sample, of no_voltage no bus voltage sample: those figures read 0 and are not readings. Mean and highest current in mA, signed; lowest bus voltage in mV.