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

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.

Detailed Description

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.

Field Documentation

◆ clipped

uint8_t servo_test_win_t::clipped

samples at an end of the range

◆ current

bool servo_test_win_t::current

it holds current samples

◆ max_ma

int16_t servo_test_win_t::max_ma

the highest current, mA, signed

◆ mean_ma

int16_t servo_test_win_t::mean_ma

the mean current, mA, signed

◆ mean_mv

uint16_t servo_test_win_t::mean_mv

the mean bus voltage at the load side of the shunt, mV

◆ min_ma

int16_t servo_test_win_t::min_ma

the lowest current, mA, signed

◆ min_mv

uint16_t servo_test_win_t::min_mv

the lowest of it, mV

◆ number

uint16_t servo_test_win_t::number

the window's, modulo 65536

◆ taken_ms

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.

◆ voltage

bool servo_test_win_t::voltage

it holds bus voltage samples


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