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

What is kept: the two pages that describe the outputs; the PD mini's wiring – SUPPLY's ENABLE to BAUD – so a module left on can be switched off after a restart before any panel has written the page; and the current monitors' set-up; and the phase tap's set-up; and where the programming ports are and how their pulse is shaped. More...

#include <out_store_rec.h>

Data Fields

uint16_t slots [LINK_OS_COUNT]
uint16_t chan_cfg [LINK_CC_COUNT]
uint16_t supply [LINK_SP_OUTPUT]
uint16_t sense [LINK_SN_CONFIG_COUNT]
uint16_t tone [LINK_TN_CONFIG_COUNT]
uint16_t prog_func
 Each port's function (protocol 4.26): bits 4n to 4n + 3 hold 1 + port n's FUNC, 0 none stored (prog_port_kept_func()).
uint16_t prog [LINK_PG_PORTS_MAX *4u]
uint16_t sense_map [LINK_SM_KEPT]
uint16_t sense_map_set
uint16_t sense_limit [LINK_SM_CHANNELS]
uint16_t spare8

Detailed Description

What is kept: the two pages that describe the outputs; the PD mini's wiring – SUPPLY's ENABLE to BAUD – so a module left on can be switched off after a restart before any panel has written the page; and the current monitors' set-up; and the phase tap's set-up; and where the programming ports are and how their pulse is shaped.

The supply's command is not kept.

Field Documentation

◆ chan_cfg

uint16_t out_store_t::chan_cfg[LINK_CC_COUNT]

the CHAN_CFG page (version 3)

◆ prog

uint16_t out_store_t::prog[LINK_PG_PORTS_MAX *4u]

◆ prog_func

uint16_t out_store_t::prog_func

Each port's function (protocol 4.26): bits 4n to 4n + 3 hold 1 + port n's FUNC, 0 none stored (prog_port_kept_func()).

0 in a record of version 6, of an image older than 4.26, or written by one. Makes the set a whole number of 32-bit words.

◆ sense

uint16_t out_store_t::sense[LINK_SN_CONFIG_COUNT]

SENSE 0 to 11 (version 5)

◆ sense_limit

uint16_t out_store_t::sense_limit[LINK_SM_CHANNELS]

mA, 0 = none (4.27)

◆ sense_map

uint16_t out_store_t::sense_map[LINK_SM_KEPT]

◆ sense_map_set

uint16_t out_store_t::sense_map_set

1: the map is in force

◆ slots

uint16_t out_store_t::slots[LINK_OS_COUNT]

the OUTPUTS page (version 3)

◆ spare8

uint16_t out_store_t::spare8

0; a whole number of 32-bit words again

◆ supply

uint16_t out_store_t::supply[LINK_SP_OUTPUT]

SUPPLY ENABLE to BAUD, version 4

◆ tone

uint16_t out_store_t::tone[LINK_TN_CONFIG_COUNT]

TONE 0 to 6 (version 6)


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