|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The programmable supply, on the control task: the PD (USB Power Delivery) mini over the IOmcu's SUPPLY page, or the panel's model, its steps at the sample cadence, its run's rows for the log, and its page. More...
#include <math.h>#include <stdatomic.h>#include <stdio.h>#include "freertos/FreeRTOS.h"#include "freertos/queue.h"#include "arming.h"#include "esc_profile.h"#include "esc_sim.h"#include "link_host.h"#include "link_pages.h"#include "outputs.h"#include "panel.h"#include "servo_source.h"#include "supply.h"#include "supply_link.h"#include "supply_page.h"#include "touch_loss.h"#include "ui_text.h"Functions | |
| void | supply_log_tail (void) |
| void | supply_switch (bool on) |
| static supply_limits_t | supply_limits_now (void) |
| void | supply_follow_set (void) |
| void | apply_supply_cmd (const panel_cmd_t *pc) |
| static void | supply_queue_sample (void) |
| static unsigned | supply_real_follow (void) |
| static void | escsim_load (void) |
| static void | supply_step (float step_s) |
| static void | supply_watch_service (void) |
| void | supply_pump (void) |
| static void | supply_link_alerts (void) |
| void | supply_link_service (void) |
Variables | |
| supply_sim_t | s_supply_sim |
| supply_link_t | s_supply_link |
| atomic_uint | s_supply_adopt_mv |
| atomic_uint | s_supply_adopt_ma |
| atomic_uint | s_supply_adopt_gen |
| atomic_uint | s_supply_adopt_done |
| atomic_uintptr_t | s_escsim_profile |
| atomic_uint | s_escsim_runs |
| static esc_sim_t | s_escsim |
| static unsigned | s_escsim_runs_seen |
| static bool | s_escsim_live |
| bool | s_supply_page |
| bool | s_supply_auto |
| bool | s_supply_is_real |
| static bool | s_supply_on |
| supply_state_t | s_supply |
| uint32_t | s_supply_ms |
| static bool | s_supply_fresh |
| uint32_t | s_supply_stops_served |
| static supply_trip_t | s_supply_trip |
| uint32_t | s_supply_step_ms |
| static arm_watch_t | s_supply_watch |
| uint32_t | s_supply_gen |
| static unsigned | s_supply_set_mv_applied |
| static unsigned | s_supply_set_ma_applied |
| static uint32_t | s_wire_alert_gen |
| static uint16_t | s_wire_alert_ev |
The programmable supply, on the control task: the PD (USB Power Delivery) mini over the IOmcu's SUPPLY page, or the panel's model, its steps at the sample cadence, its run's rows for the log, and its page.
SPDX-License-Identifier: MIT