|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
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 |
What the task that owns the link module publishes, every frame.
| kst_link_start_t kst_prog_feed_t::answer |
what kst_link_start() said
| uint32_t kst_prog_feed_t::answer_id |
the last command carried out; 0 none
| bool kst_prog_feed_t::armed |
the panel's outputs are armed
| bool kst_prog_feed_t::card |
a card takes the file
| 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
| uint16_t kst_prog_feed_t::out_ma |
and the current it gives, mA
| uint16_t kst_prog_feed_t::out_mv |
its output, mV
| kst_link_outcome_t kst_prog_feed_t::outcome |
the outcome handed out
| uint32_t kst_prog_feed_t::outcomes |
counts kst_link_outcome() handing one out
| 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
| uint8_t kst_prog_feed_t::port_pin_known |
bit n set: port_pin[n] holds a GPIO
| uint16_t kst_prog_feed_t::set_mv |
and the voltage it is set to, mV
| bool kst_prog_feed_t::stopped |
STOP is latched: no heartbeat
| bool kst_prog_feed_t::supply_read |
out_mv and out_ma are a reading of the PD mini
| 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