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

Timing and fault settings of the simulated ESC. More...

#include <esc_sim.h>

Data Fields

uint32_t beep_ms
uint32_t gap_ms
uint32_t long_ms
uint32_t pause_ms
uint32_t entry_ms
uint32_t window_ms
uint32_t idle_ma
uint32_t beep_ma
uint32_t noise_ma
uint32_t seed
uint8_t extra
int32_t drop_group
bool deaf
bool mute
bool wait_hand

Detailed Description

Timing and fault settings of the simulated ESC.

Field Documentation

◆ beep_ma

uint32_t esc_sim_cfg_t::beep_ma

on top of idle_ma while a beep sounds

◆ beep_ms

uint32_t esc_sim_cfg_t::beep_ms

a short beep

◆ deaf

bool esc_sim_cfg_t::deaf

never takes a selection

◆ drop_group

int32_t esc_sim_cfg_t::drop_group

this menu group, from 0 since power-on, loses its last beep; -1 none

◆ entry_ms

uint32_t esc_sim_cfg_t::entry_ms

power on to the first group; 0: the profile's hold, or 3000ms without one

◆ extra

uint8_t esc_sim_cfg_t::extra

groups the menu sounds past the profile's highest number

◆ gap_ms

uint32_t esc_sim_cfg_t::gap_ms

silence between two beeps of a group

◆ idle_ma

uint32_t esc_sim_cfg_t::idle_ma

the current the ESC draws idle

◆ long_ms

uint32_t esc_sim_cfg_t::long_ms

a long beep, and the stored tone

◆ mute

bool esc_sim_cfg_t::mute

never beeps

◆ noise_ma

uint32_t esc_sim_cfg_t::noise_ma

uniform, either way

◆ pause_ms

uint32_t esc_sim_cfg_t::pause_ms

silence between two groups

◆ seed

uint32_t esc_sim_cfg_t::seed

the noise generator's seed

◆ wait_hand

bool esc_sim_cfg_t::wait_hand

where the profile has a before_menu step, the menu waits for esc_sim_hand(), answers it with three beeps and starts at once

◆ window_ms

uint32_t esc_sim_cfg_t::window_ms

how long after a group a move selects it; 0: the profile's window, or until the next group begins


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