|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The TONE page state: the set-up, what core 1 last reported, and the beep ring of the capture. More...
#include <tone_page.h>
Data Fields | |
| uint16_t | cfg [LINK_TN_CONFIG_COUNT] |
| uint16_t | evt_sel |
| uint16_t | gen |
| uint16_t | cap_gen |
| bool | refused |
| bool | no_capture |
| bool | running |
| bool | overrun |
| bool | beep |
| bool | tone |
| uint16_t | window |
| uint16_t | win_freq_dhz |
| uint16_t | win_periods |
| uint32_t | lost |
| uint32_t | glitches |
| uint32_t | seen_lost |
| uint32_t | seen_glitches |
| tone_rec_t | ring [LINK_TN_RING] |
| uint64_t | n |
| uint64_t | first |
| uint32_t | ms_shift |
| bool | broke |
| tone_t | scratch |
The TONE page state: the set-up, what core 1 last reported, and the beep ring of the capture.
| bool tone_page_t::beep |
core 1's last status: a run of bursts is under way
| bool tone_page_t::broke |
such a restart cut this capture: OVERRUN
| uint16_t tone_page_t::cap_gen |
moves each time the capture starts again
| uint16_t tone_page_t::cfg[LINK_TN_CONFIG_COUNT] |
registers 0 to 6
| uint16_t tone_page_t::evt_sel |
register 13, not kept
| uint64_t tone_page_t::first |
the first still valid, as a count
| uint16_t tone_page_t::gen |
moves with every change of the set-up
| uint32_t tone_page_t::glitches |
counted across set-ups
| uint32_t tone_page_t::ms_shift |
added to each start: a restart that kept the ring keeps the time base too
| uint64_t tone_page_t::n |
beeps taken since boot; 64 bit: no wrap
| bool tone_page_t::no_capture |
no capture runs this boot: core 1 did not start (tone_page_no_capture())
| bool tone_page_t::overrun |
core 1's last status: a lap or a FIFO overflow
| bool tone_page_t::refused |
enabled, and the pin could not be taken
| bool tone_page_t::running |
core 1's last status: an order with run was taken
| tone_t tone_page_t::scratch |
tone_init()'s verdict on a set-up
| uint32_t tone_page_t::seen_glitches |
the status's own, last
| bool tone_page_t::tone |
core 1's last status: the last window held a tone