|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The screen's copy: a plain value the control task fills and the renderer reads. More...
#include <tone_link.h>
Data Fields | |
| tone_state_t | state |
| bool | read |
| The state and the seven values below come from a status read younger than TONE_LINK_STALE_MS; false, and the seven 0, while none speaks for the page: no link, no page, no read yet, a read that old, a read whose FLAGS say the tap runs while its WINDOW has not moved for TONE_LINK_WINDOW_STALE_MS, or a page that holds the tap off. | |
| bool | overrun |
| bool | tone |
| bool | beep |
| uint16_t | win_freq_dhz |
| uint16_t | win_periods |
| uint16_t | lost |
| uint16_t | glitches |
| uint32_t | missed |
| uint8_t | n |
| tone_beep_t | beeps [TONE_LINK_SHOWN] |
The screen's copy: a plain value the control task fills and the renderer reads.
| bool tone_readout_t::beep |
a beep is under way
| tone_beep_t tone_readout_t::beeps[TONE_LINK_SHOWN] |
newest first
| uint16_t tone_readout_t::glitches |
lows it ignored as too short
| uint16_t tone_readout_t::lost |
beeps the IOmcu dropped
| uint32_t tone_readout_t::missed |
beeps the panel did not read
| uint8_t tone_readout_t::n |
beeps held below
| bool tone_readout_t::overrun |
the capture overran since ENABLE
| bool tone_readout_t::read |
The state and the seven values below come from a status read younger than TONE_LINK_STALE_MS; false, and the seven 0, while none speaks for the page: no link, no page, no read yet, a read that old, a read whose FLAGS say the tap runs while its WINDOW has not moved for TONE_LINK_WINDOW_STALE_MS, or a page that holds the tap off.
The state is then WAITING.
| bool tone_readout_t::tone |
the last window held a tone
| uint16_t tone_readout_t::win_freq_dhz |
the last window's pitch, 0.1Hz; 0 none
| uint16_t tone_readout_t::win_periods |
the tone periods in the last window