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

The state of which meter measures the servo rail. More...

#include <servo_source.h>

Data Fields

servo_source_id_t id
servo_source_why_t why
uint32_t changes
servo_source_why_t dropped
uint32_t dropped_at
bool up
bool good
uint32_t good_ms
bool resets_known
bool reset_step
uint8_t resets
uint16_t setups
bool old_told
uint32_t events
bool event_given
uint32_t event_ms

Detailed Description

The state of which meter measures the servo rail.

Field Documentation

◆ changes

uint32_t servo_source_t::changes

times id has changed, modulo 2^32

◆ dropped

servo_source_why_t servo_source_t::dropped

why the INA3221 last stopped being the meter; NONE while it never did

◆ dropped_at

uint32_t servo_source_t::dropped_at

changes as that step left it

◆ event_given

bool servo_source_t::event_given

whether an event was handed out

◆ event_ms

uint32_t servo_source_t::event_ms

when it was handed out, ms

◆ events

uint32_t servo_source_t::events

events pending, SERVO_SOURCE_EV_* bits

◆ good

bool servo_source_t::good

conditions 1 to 6 held at the last step

◆ good_ms

uint32_t servo_source_t::good_ms

since when

◆ old_told

bool servo_source_t::old_told

the older IOmcu is said

◆ reset_step

bool servo_source_t::reset_step

the reset count moved in the last step

◆ resets

uint8_t servo_source_t::resets

the INA3221's reset count, as last read

◆ resets_known

bool servo_source_t::resets_known

resets was read under set-up setups

◆ setups

uint16_t servo_source_t::setups

◆ up

bool servo_source_t::up

an IOmcu answered at the last step


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