|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The supply screen's state: the plot, the sliders, the set points and what the supply reports, the question about a change, the keypad and the revisions the two frame buffers last drew. More...
#include <supply_screen_int.h>
Data Fields | |
| ui_plot_t | plot |
| ui_wb_strip_t | wb |
| uint32_t | strip_rev |
| uint32_t | drawn_strip [2] |
| ui_tabs_t | tabs |
| ui_slider_t | v_slider |
| ui_slider_t | i_slider |
| supply_caps_t | caps |
| supply_limits_t | lim |
| supply_caps_t | eff |
| supply_state_t | sup |
| float | cv |
| float | ci |
| bool | on_asked |
| Whether an ON this screen asked for is not yet seen applied. | |
| bool | port_held |
| Whether a servo programming port is out of PWM and holds the supply. | |
| bool | held_kst |
| The KST programmer's word on the hold. | |
| bool | held_hitec |
| The Hitec programmer's word on the hold. | |
| supply_by_t | owner |
| bool | off_owed |
| Whether an OFF is owed for leaving the screen while a port held the supply. | |
| bool | confirm_open |
| uint32_t | off_count |
| uint32_t | stops |
| uint32_t | confirm_stops |
| bool | press_on |
| Whether OUTPUT's press began on a live output (an OFF tap). | |
| float | pend_v |
| float | pend_i |
| gfx_rect_t | apply_btn |
| gfx_rect_t | discard_btn |
| bool | model |
| uint32_t | baud |
| int | tx1 |
| int | rx1 |
| bool | on |
| bool | out_reported |
| supply_cmd_t | pending |
| unsigned | drawn_mask |
| Bit per frame buffer: its title and strip were drawn. | |
| uint32_t | drawn_push [2] |
| uint32_t | drawn_plot [2] |
| uint8_t | drawn_title [2] |
| uint32_t | ctrl_rev |
| uint32_t | drawn_ctrl [2] |
| uint32_t | set_rev |
| uint32_t | drawn_set [2] |
| uint32_t | out_rev |
| uint32_t | drawn_out [2] |
| uint32_t | ov_rev |
| uint32_t | drawn_ov [2] |
| uint8_t | drawn_save [2] |
| uint32_t | drawn_kp [2] |
| ui_hold_t | hold |
| gfx_rect_t | out_rect |
| gfx_rect_t | reset_rect |
| gfx_rect_t | modreset_btn |
| gfx_rect_t | v_down |
| gfx_rect_t | v_up |
| gfx_rect_t | i_down |
| gfx_rect_t | i_up |
| ui_keypad_t | kp |
| int | kp_target |
| setting_id_t | kp_setting |
| Setting the keypad types when kp_target is KP_SETTING. | |
| int | pressed |
| int | press_row |
| uint8_t | press_id |
| bool | have_press |
The supply screen's state: the plot, the sliders, the set points and what the supply reports, the question about a change, the keypad and the revisions the two frame buffers last drew.
| gfx_rect_t sup_state_t::apply_btn |
APPLY of the question
| uint32_t sup_state_t::baud |
PD mini UART rate, baud; 0 when not shown
| supply_caps_t sup_state_t::caps |
what the supply can be set to
| float sup_state_t::ci |
current limit given to the supply, A
| bool sup_state_t::confirm_open |
whether the question about a change is open
| uint32_t sup_state_t::confirm_stops |
stop count the question was asked under
| uint32_t sup_state_t::ctrl_rev |
revision of the CONTROL card
| float sup_state_t::cv |
voltage set point given to the supply, V
| gfx_rect_t sup_state_t::discard_btn |
CANCEL of the question
| uint32_t sup_state_t::drawn_ctrl[2] |
CONTROL revision each frame buffer last drew
| uint32_t sup_state_t::drawn_kp[2] |
keypad revision each frame buffer last drew
| uint32_t sup_state_t::drawn_out[2] |
OUTPUT revision each frame buffer last drew
| uint32_t sup_state_t::drawn_ov[2] |
SETTINGS revision each frame buffer last drew
| uint32_t sup_state_t::drawn_plot[2] |
plot revision each frame buffer last drew
| uint32_t sup_state_t::drawn_push[2] |
plot pushes each frame buffer last drew
| uint8_t sup_state_t::drawn_save[2] |
save-line state each frame buffer last drew
| uint32_t sup_state_t::drawn_set[2] |
set point revision each frame buffer last drew
| uint32_t sup_state_t::drawn_strip[2] |
strip revision each frame buffer last drew
| uint8_t sup_state_t::drawn_title[2] |
title tag each frame buffer last drew
| supply_caps_t sup_state_t::eff |
the caps narrowed by the limits
| bool sup_state_t::have_press |
whether a press is on the glass
| ui_hold_t sup_state_t::hold |
hold counter of OUTPUT ON
| gfx_rect_t sup_state_t::i_down |
current fine step down
| ui_slider_t sup_state_t::i_slider |
current slider
| gfx_rect_t sup_state_t::i_up |
current fine step up
| ui_keypad_t sup_state_t::kp |
the keypad
| int sup_state_t::kp_target |
what the keypad types, KP_*
| supply_limits_t sup_state_t::lim |
what the operator allows
| bool sup_state_t::model |
whether the panel runs against its model supply
| gfx_rect_t sup_state_t::modreset_btn |
RESET PD MINI, on SETTINGS
| uint32_t sup_state_t::off_count |
reported ON-to-OFF edges
| bool sup_state_t::on |
the output as this screen believes it
| gfx_rect_t sup_state_t::out_rect |
OUTPUT ON / OFF
| bool sup_state_t::out_reported |
the output as the supply reports it
| uint32_t sup_state_t::out_rev |
revision of OUTPUT
| uint32_t sup_state_t::ov_rev |
revision of SETTINGS' page
| supply_by_t sup_state_t::owner |
screen whose ON the output is
| float sup_state_t::pend_i |
current change waiting for its question, A
| float sup_state_t::pend_v |
voltage change waiting for its question, V
| supply_cmd_t sup_state_t::pending |
the commands waiting to go to the supply
| ui_plot_t sup_state_t::plot |
plot of the three readings and two set points
| uint8_t sup_state_t::press_id |
touch id of the press
| int sup_state_t::press_row |
SETTINGS row the press is on
| int sup_state_t::pressed |
what the press is on, P_*
| gfx_rect_t sup_state_t::reset_rect |
RESET PEAKS
| int sup_state_t::rx1 |
PD mini UART receive pin, GPIO + 1; 0 for none
| uint32_t sup_state_t::set_rev |
revision of the set points
| uint32_t sup_state_t::stops |
stops seen
| uint32_t sup_state_t::strip_rev |
revision of the strip, counted up when it changes
| supply_state_t sup_state_t::sup |
the supply's reported state
| ui_tabs_t sup_state_t::tabs |
PLOT | TABLE tabs, on LIVE
| int sup_state_t::tx1 |
PD mini UART transmit pin, GPIO + 1; 0 for none
| gfx_rect_t sup_state_t::v_down |
voltage fine step down
| ui_slider_t sup_state_t::v_slider |
voltage slider
| gfx_rect_t sup_state_t::v_up |
voltage fine step up
| ui_wb_strip_t sup_state_t::wb |
the LIVE | SETTINGS strip