|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
Detector state. The fields belong to tone.c. More...
#include <tone.h>
Data Fields | |
| tone_cfg_t | c |
| uint64_t | win_ticks |
| uint64_t | per_min |
| uint64_t | per_max |
| uint64_t | car_max |
| uint64_t | glitch |
| uint64_t | gap |
| uint64_t | start_low |
| uint64_t | spacing |
| The shortest time between two burst starts that makes a counted period, ticks: the most of half the shortest period in range, the glitch and start_low. | |
| bool | seen |
| uint64_t | now |
| bool | have_edge |
| uint64_t | last_edge |
| bool | high |
| uint64_t | last_rise |
| uint64_t | last_fall |
| bool | in_run |
| uint64_t | car_low |
| uint64_t | car_high |
| uint64_t | car_rise |
| bool | rise_started |
| uint64_t | burst_start |
| uint64_t | burst_e_before |
| uint64_t | b_start |
| uint64_t | b_sum |
| uint32_t | b_n |
| uint32_t | b_bursts |
| uint8_t | b_flags |
| tone_pend_t | pend [TONE_BLOCK] |
| uint32_t | n_pend |
| uint64_t | w_index |
| uint64_t | w_end |
| uint64_t | w_sum |
| uint32_t | w_n |
| uint32_t | w_bursts |
| bool | have_window |
| tone_window_t | window |
| tone_beep_t | q [TONE_BEEP_QUEUE] |
| uint32_t | q_head |
| uint32_t | q_len |
| tone_stats_t | st |
Detector state. The fields belong to tone.c.
| uint64_t tone_t::car_high |
longest carrier-rate high
| uint64_t tone_t::car_low |
shortest carrier-rate low; 0 none
| uint64_t tone_t::car_rise |
shortest rise interval inside a burst, not its first; 0 none
| bool tone_t::have_edge |
whether an edge was given
| bool tone_t::high |
the line's level after the last edge
| uint64_t tone_t::last_edge |
the latest edge's time
| uint64_t tone_t::last_fall |
time of the last falling edge
| uint64_t tone_t::last_rise |
time of the last rising edge
| uint64_t tone_t::now |
the latest time given
| bool tone_t::rise_started |
the last rise started a burst
| bool tone_t::seen |
any time given yet
| uint64_t tone_t::start_low |
twice the hold-off, ticks