|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The run since sense_sched_arm(), from the INA228. More...
#include <sense_sched.h>
Data Fields | |
| bool | have_v |
| bool | have_i |
| bool | have_p |
| bool | i_clipped |
| int32_t | v_min_uv |
| int32_t | i_max_ua |
| int64_t | p_max_uw |
| bool | clear_owed |
| bool | totals_ok |
| uint64_t | energy_mj |
| int64_t | charge_uc |
The run since sense_sched_arm(), from the INA228.
| int64_t sense_run_t::charge_uc |
CHARGE as last read
| bool sense_run_t::clear_owed |
the accumulators are to be cleared
| uint64_t sense_run_t::energy_mj |
ENERGY as last read
| bool sense_run_t::have_i |
i_max_ua holds a sample
| bool sense_run_t::have_p |
p_max_uw holds a sample
| bool sense_run_t::have_v |
v_min_uv holds a sample
| bool sense_run_t::i_clipped |
a clipped current: the peaks lack it
| int32_t sense_run_t::i_max_ua |
highest current since arming, µA
| int64_t sense_run_t::p_max_uw |
a current times the voltage read before it
| bool sense_run_t::totals_ok |
energy and charge are this run's
| int32_t sense_run_t::v_min_uv |
lowest voltage since arming, µV