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

What the task that owns the link module publishes, every frame. More...

#include <kst_prog.h>

Data Fields

uint32_t now_ms
kst_link_readout_t rd
bool have_image
kst_image_t image
bool have_backup
kst_image_t backup
uint32_t answer_id
kst_link_start_t answer
uint32_t outcomes
kst_link_outcome_t outcome
bool supply_read
uint16_t out_mv
uint16_t out_ma
uint16_t set_mv
bool stopped
bool armed
bool card
uint8_t card_state
uint8_t target
uint8_t port_pin [LINK_PG_PORTS_MAX]
uint8_t port_pin_known

Detailed Description

What the task that owns the link module publishes, every frame.

Field Documentation

◆ answer

kst_link_start_t kst_prog_feed_t::answer

what kst_link_start() said

◆ answer_id

uint32_t kst_prog_feed_t::answer_id

the last command carried out; 0 none

◆ armed

bool kst_prog_feed_t::armed

the panel's outputs are armed

◆ card

bool kst_prog_feed_t::card

a card takes the file

◆ card_state

uint8_t kst_prog_feed_t::card_state

card_state_t of the panel's slot, for what the screen says without a card: 0 no card, 2 no FAT volume, 3 unreadable

◆ out_ma

uint16_t kst_prog_feed_t::out_ma

and the current it gives, mA

◆ out_mv

uint16_t kst_prog_feed_t::out_mv

its output, mV

◆ outcome

kst_link_outcome_t kst_prog_feed_t::outcome

the outcome handed out

◆ outcomes

uint32_t kst_prog_feed_t::outcomes

counts kst_link_outcome() handing one out

◆ port_pin

uint8_t kst_prog_feed_t::port_pin[LINK_PG_PORTS_MAX]

the GPIO programming port n drives, when bit n of port_pin_known is set

◆ port_pin_known

uint8_t kst_prog_feed_t::port_pin_known

bit n set: port_pin[n] holds a GPIO

◆ set_mv

uint16_t kst_prog_feed_t::set_mv

and the voltage it is set to, mV

◆ stopped

bool kst_prog_feed_t::stopped

STOP is latched: no heartbeat

◆ supply_read

bool kst_prog_feed_t::supply_read

out_mv and out_ma are a reading of the PD mini

◆ target

uint8_t kst_prog_feed_t::target

what the SERVO screen's tester drives as the IOmcu reads it: 0 the standard servo ports, 1 + n programming port n


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