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

#include <supply_screen.h>

Data Fields

bool on
bool off
bool reset
bool module_reset

Detailed Description

What the screen asks the application to do since the last poll. Both an OFF and a RESET PEAKS can be pending at once. An OFF outranks an ON: one that is pending drops any ON asked after it.

The set points are not in it. They are a level, read with supply_screen_set_v() and supply_screen_set_i(), so an application that loses a command does not lose the voltage the screen shows.

Field Documentation

◆ module_reset

bool supply_cmd_t::module_reset

restart the PD mini

◆ off

bool supply_cmd_t::off

switch it off

◆ on

bool supply_cmd_t::on

switch the output on

◆ reset

bool supply_cmd_t::reset

start the extremes again


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