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

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]

Detailed Description

The screen's copy: a plain value the control task fills and the renderer reads.

Field Documentation

◆ beep

bool tone_readout_t::beep

a beep is under way

◆ beeps

tone_beep_t tone_readout_t::beeps[TONE_LINK_SHOWN]

newest first

◆ glitches

uint16_t tone_readout_t::glitches

lows it ignored as too short

◆ lost

uint16_t tone_readout_t::lost

beeps the IOmcu dropped

◆ missed

uint32_t tone_readout_t::missed

beeps the panel did not read

◆ n

uint8_t tone_readout_t::n

beeps held below

◆ overrun

bool tone_readout_t::overrun

the capture overran since ENABLE

◆ read

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.

◆ tone

bool tone_readout_t::tone

the last window held a tone

◆ win_freq_dhz

uint16_t tone_readout_t::win_freq_dhz

the last window's pitch, 0.1Hz; 0 none

◆ win_periods

uint16_t tone_readout_t::win_periods

the tone periods in the last window


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