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

One reading of the supply, as SUPPLY has it (supply_state_t). More...

#include <servo_test_io.h>

Data Fields

float v
float i
float set_v
float set_i
uint8_t mode
bool output
bool online
bool ok
uint8_t trip
uint16_t samples
uint32_t taken_ms

Detailed Description

One reading of the supply, as SUPPLY has it (supply_state_t).

Field Documentation

◆ i

float servo_test_reading_t::i

at the output, V and A

◆ mode

uint8_t servo_test_reading_t::mode

0 off, 1 CV, 2 CC (supply_mode_t)

◆ ok

bool servo_test_reading_t::ok

voltage and current both arrived

◆ online

bool servo_test_reading_t::online

the supply answers

◆ output

bool servo_test_reading_t::output

switched on

◆ samples

uint16_t servo_test_reading_t::samples

readings the supply took, mod 65536

◆ set_i

float servo_test_reading_t::set_i

the current limit, read back

◆ set_v

float servo_test_reading_t::set_v

the voltage set point, read back

◆ taken_ms

uint32_t servo_test_reading_t::taken_ms

when the panel had it, on the run's clock

◆ trip

uint8_t servo_test_reading_t::trip

nonzero: tripped (supply_trip_kind_t)


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