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

The green light: on while the detector holds a pulse, from the reading that rose above the threshold to the one that fell below the release, and for at least ESC_STICK_BEEP_LIGHT_MS from the first look that sees a pulse begun, so a pulse that rises and falls between two looks still shows. More...

#include <esc_stick.h>

Data Fields

uint32_t pulses
uint32_t from_ms
bool held

Detailed Description

The green light: on while the detector holds a pulse, from the reading that rose above the threshold to the one that fell below the release, and for at least ESC_STICK_BEEP_LIGHT_MS from the first look that sees a pulse begun, so a pulse that rises and falls between two looks still shows.

Every pulse lights it, trusted group or not. Off while the supply is not on for the menu (outside ENTRY, HAND_ON, ITEMS, VALUES and STORE) and while no run is under way.

Field Documentation

◆ from_ms

uint32_t esc_stick_light_t::from_ms

when that look saw a new pulse

◆ held

bool esc_stick_light_t::held

the minimum time is running

◆ pulses

uint32_t esc_stick_light_t::pulses

the run's count at the last look


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