|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
State of the tone service: the detector, the ring reader and the generations last seen. More...
#include <tone_svc.h>
Data Fields | |
| tone_t | det |
| tone_holdoff_t | hold |
| edge_ring_t | ring |
| uint16_t | gen |
| uint16_t | cap_gen |
| bool | active |
| bool | overrun |
| Whether a lap or a FIFO overflow happened since the start. | |
| uint8_t | discard |
| Passes still to discard after a FIFO overflow: the one that sees it and the next. | |
| tone_edge_t | batch [TONE_SVC_BATCH] |
| One pass's words as edges. | |
State of the tone service: the detector, the ring reader and the generations last seen.
| bool tone_svc_t::active |
whether the capture runs
| tone_edge_t tone_svc_t::batch[TONE_SVC_BATCH] |
One pass's words as edges.
Here, not on the stack: core 1's stack is small.
| uint16_t tone_svc_t::cap_gen |
the capture generation last seen
| uint16_t tone_svc_t::gen |
the set-up generation last seen
| tone_holdoff_t tone_svc_t::hold |
only its horizon is used
| edge_ring_t tone_svc_t::ring |
the ring of edges