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

One complete window of one source. More...

#include <sense_sched.h>

Data Fields

uint16_t number
uint16_t n_i
uint16_t n_v
bool clip_hi
bool clip_lo
int32_t i_mean_ua
int32_t i_min_ua
int32_t i_max_ua
int32_t v_mean_uv
int32_t v_min_uv

Detailed Description

One complete window of one source.

Field Documentation

◆ clip_hi

bool sense_window_t::clip_hi

a current sample at the top of the range

◆ clip_lo

bool sense_window_t::clip_lo

one at the bottom

◆ i_max_ua

int32_t sense_window_t::i_max_ua

highest current, µA; 0 with n_i 0

◆ i_mean_ua

int32_t sense_window_t::i_mean_ua

mean current, µA; 0 with n_i 0

◆ i_min_ua

int32_t sense_window_t::i_min_ua

lowest current, µA; 0 with n_i 0

◆ n_i

uint16_t sense_window_t::n_i

current samples with a value

◆ n_v

uint16_t sense_window_t::n_v

voltage samples

◆ number

uint16_t sense_window_t::number

window number, modulo 65536

◆ v_mean_uv

int32_t sense_window_t::v_mean_uv

mean voltage, µV; 0 with n_v 0

◆ v_min_uv

int32_t sense_window_t::v_min_uv

lowest voltage, µV; 0 with n_v 0


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