|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
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 |
Core 1's own.
| uint32_t sense_trace_src_t::cfg |
the sample set-up word as last seen
| bool sense_trace_src_t::cfg_newer |
a set-up record was kept since then
| bool sense_trace_src_t::cfg_owed |
its record is still to be written
| uint32_t sense_trace_src_t::cfg_t |
the tick an owed set-up word was seen in
| uint32_t sense_trace_src_t::dropped |
every count of lost, modulo 2^32: what sense_trace_t.drops holds
| uint32_t sense_trace_src_t::gen |
the schedule's set-up number at the last call: another one is a new schedule
| bool sense_trace_src_t::have |
head and t are a sample taken
| uint8_t sense_trace_src_t::head |
the history's head at it
| uint32_t sense_trace_src_t::kept_t |
the time of the last record kept
| uint32_t sense_trace_src_t::lost |
records dropped since the last one kept
| 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
| uint16_t sense_trace_src_t::n_hi |
CH1 samples clipped at the top end
| uint16_t sense_trace_src_t::n_lo |
CH1 samples clipped at the bottom end
| uint16_t sense_trace_src_t::n_v |
CH1 voltages in it at the last call
| uint32_t sense_trace_src_t::shunt |
the shunt as last seen, µΩ
| bool sense_trace_src_t::shunt_newer |
a shunt record was kept since then
| bool sense_trace_src_t::shunt_owed |
the shunt's record is still to be written
| uint32_t sense_trace_src_t::shunt_t |
the tick an owed shunt was seen in
| uint32_t sense_trace_src_t::t |
its time
| int64_t sense_trace_src_t::v_sum |
and their sum, µV
| uint64_t sense_trace_src_t::win |
the window the voltage count is of