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

The state of a capture of a FAST move. More...

#include <sense_sched.h>

Data Fields

sense_cap_state_t state
uint16_t seq
sense_cap_arm_t arm
uint32_t edge_t
uint32_t arm_t
bool rise_owed
sense_cap_pre_t pre [SENSE_CAP_FILTER_N]
uint8_t pre_n
uint8_t pre_head
uint32_t move_t
uint32_t arrive_t
int32_t peak_ua
int32_t mean_ua
uint32_t samples
bool clipped
servo_move_t mv

Detailed Description

The state of a capture of a FAST move.

Field Documentation

◆ arm

sense_cap_arm_t sense_cap_t::arm

how the capture was armed

◆ arm_t

uint32_t sense_cap_t::arm_t

the arm, 0.1ms

◆ arrive_t

uint32_t sense_cap_t::arrive_t

edge to arrival, 0.1ms, when ARRIVED or SETTLED; 0 otherwise

◆ clipped

bool sense_cap_t::clipped

a clipped sample: peak and mean lack it

◆ edge_t

uint32_t sense_cap_t::edge_t

the edge, 0.1ms

◆ mean_ua

int32_t sense_cap_t::mean_ua

mean of the move's filtered samples

◆ move_t

uint32_t sense_cap_t::move_t

edge to movement, 0.1ms, when ARRIVED, SETTLED or LATE; 0 otherwise

◆ peak_ua

int32_t sense_cap_t::peak_ua

highest filtered sample of the move

◆ rise_owed

bool sense_cap_t::rise_owed

the level before the command is FAST's, taken at the first sample past the edge

◆ samples

uint32_t sense_cap_t::samples

filtered samples with a value in the move

◆ seq

uint16_t sense_cap_t::seq

captures ended, modulo 65536


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