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

A trace of the FAST channel's samples, shared between the two cores. More...

#include <sense_trace.h>

Data Fields

sense_trace_rec_t * buf
uint32_t mask
atomic_uint_fast32_t head
atomic_uint_fast32_t tail
atomic_uint_fast32_t drops
atomic_uint_fast32_t fed
sense_trace_src_t src
sense_trace_out_t out

Detailed Description

A trace of the FAST channel's samples, shared between the two cores.

Field Documentation

◆ drops

atomic_uint_fast32_t sense_trace_t::drops

records dropped, modulo 2^32: the sum of the counts the records kept carry and of the count the next one will; core 1 moves it, at the drop

◆ fed

atomic_uint_fast32_t sense_trace_t::fed

the start, 0.1ms, of the last tick whose records are in; core 1 moves it, after the tick's drops

◆ head

atomic_uint_fast32_t sense_trace_t::head

records written; core 1 moves it

◆ mask

uint32_t sense_trace_t::mask

the size less 1

◆ out

sense_trace_out_t sense_trace_t::out

core 0's own

◆ src

sense_trace_src_t sense_trace_t::src

core 1's own

◆ tail

atomic_uint_fast32_t sense_trace_t::tail

records read; core 0 moves it


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