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

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

#include <hitec_prog.h>

Data Fields

uint32_t now_ms
hitec_link_readout_t rd
uint32_t answer_id
uint8_t answer
uint32_t outcomes
hitec_link_outcome_t outcome
bool stopped
bool armed
uint8_t target
uint8_t port_pin [LINK_PG_PORTS_MAX]
uint8_t port_pin_known
uint8_t rx_mark
bool supply_read
uint16_t out_mv
uint16_t out_ma
bool supply_held
bool card

Detailed Description

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

Field Documentation

◆ answer

uint8_t hitec_prog_feed_t::answer

what the module said to it: hitec_link_start_t

◆ answer_id

uint32_t hitec_prog_feed_t::answer_id

the last command carried out; 0 none

◆ armed

bool hitec_prog_feed_t::armed

the panel's outputs are armed

◆ card

bool hitec_prog_feed_t::card

a card is mounted: a write's record goes to it

◆ now_ms

uint32_t hitec_prog_feed_t::now_ms

the link task's clock, ms

◆ out_ma

uint16_t hitec_prog_feed_t::out_ma

the current it gives, mA

◆ out_mv

uint16_t hitec_prog_feed_t::out_mv

its output, mV

◆ outcome

hitec_link_outcome_t hitec_prog_feed_t::outcome

the last one

◆ outcomes

uint32_t hitec_prog_feed_t::outcomes

counts the outcomes handed out

◆ port_pin

uint8_t hitec_prog_feed_t::port_pin[LINK_PG_PORTS_MAX]

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

◆ port_pin_known

uint8_t hitec_prog_feed_t::port_pin_known

bit n set: port_pin[n] holds a GPIO

◆ rd

hitec_link_readout_t hitec_prog_feed_t::rd

the page as the module holds it

◆ rx_mark

uint8_t hitec_prog_feed_t::rx_mark

hitec_rx_link_mark_t of the D series receive mode

◆ stopped

bool hitec_prog_feed_t::stopped

STOP is latched at the panel

◆ supply_held

bool hitec_prog_feed_t::supply_held

the SUPPLY page says a programming port holds it (LINK_SP_PORT)

◆ supply_read

bool hitec_prog_feed_t::supply_read

out_mv and out_ma are a reading of the PD mini, on

◆ target

uint8_t hitec_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: