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

Core 1's own. More...

#include <sense_trace.h>

Data Fields

bool have
uint8_t head
uint32_t t
uint64_t win
uint32_t gen
uint16_t n_v
uint16_t n_hi
uint16_t n_lo
int64_t v_sum
uint32_t lost
uint32_t dropped
uint32_t lost_after
uint32_t cfg
uint32_t shunt
bool cfg_owed
bool shunt_owed
uint32_t cfg_t
uint32_t shunt_t
bool cfg_newer
bool shunt_newer
uint32_t kept_t

Detailed Description

Core 1's own.

Field Documentation

◆ cfg

uint32_t sense_trace_src_t::cfg

the sample set-up word as last seen

◆ cfg_newer

bool sense_trace_src_t::cfg_newer

a set-up record was kept since then

◆ cfg_owed

bool sense_trace_src_t::cfg_owed

its record is still to be written

◆ cfg_t

uint32_t sense_trace_src_t::cfg_t

the tick an owed set-up word was seen in

◆ dropped

uint32_t sense_trace_src_t::dropped

every count of lost, modulo 2^32: what sense_trace_t.drops holds

◆ gen

uint32_t sense_trace_src_t::gen

the schedule's set-up number at the last call: another one is a new schedule

◆ have

bool sense_trace_src_t::have

head and t are a sample taken

◆ head

uint8_t sense_trace_src_t::head

the history's head at it

◆ kept_t

uint32_t sense_trace_src_t::kept_t

the time of the last record kept

◆ lost

uint32_t sense_trace_src_t::lost

records dropped since the last one kept

◆ lost_after

uint32_t sense_trace_src_t::lost_after

samples dropped while a set-up record is owed: added to lost and dropped once the record is written, so they count after it

◆ n_hi

uint16_t sense_trace_src_t::n_hi

CH1 samples clipped at the top end

◆ n_lo

uint16_t sense_trace_src_t::n_lo

CH1 samples clipped at the bottom end

◆ n_v

uint16_t sense_trace_src_t::n_v

CH1 voltages in it at the last call

◆ shunt

uint32_t sense_trace_src_t::shunt

the shunt as last seen, µΩ

◆ shunt_newer

bool sense_trace_src_t::shunt_newer

a shunt record was kept since then

◆ shunt_owed

bool sense_trace_src_t::shunt_owed

the shunt's record is still to be written

◆ shunt_t

uint32_t sense_trace_src_t::shunt_t

the tick an owed shunt was seen in

◆ t

uint32_t sense_trace_src_t::t

its time

◆ v_sum

int64_t sense_trace_src_t::v_sum

and their sum, µV

◆ win

uint64_t sense_trace_src_t::win

the window the voltage count is of


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