K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
Loading...
Searching...
No Matches
kfsw_limits_rule Struct Reference

#include <limits.h>

Public Attributes

uint8_t index
 
char parameter [KFSW_PARAM_NAME_MAX+1U]
 
uint16_t read_node
 
enum kfsw_param_type type
 
uint8_t cmp
 
union kfsw_param_scalar bound
 
char bound_text [KFSW_LIMITS_BOUND_TEXT_MAX]
 
uint8_t dwell
 
uint8_t streak
 
bool latched
 
uint16_t node
 
char action [KFSW_FBO_SCHEDULE_LINE_MAX]
 

Detailed Description

One rule of the loaded set.

Member Data Documentation

◆ action

char kfsw_limits_rule::action[KFSW_FBO_SCHEDULE_LINE_MAX]

The action: a registered command and its arguments.

◆ bound

union kfsw_param_scalar kfsw_limits_rule::bound

The bound parsed against type.

◆ bound_text

char kfsw_limits_rule::bound_text[KFSW_LIMITS_BOUND_TEXT_MAX]

The bound as written in the file.

◆ cmp

uint8_t kfsw_limits_rule::cmp

enum kfsw_limits_cmp

◆ dwell

uint8_t kfsw_limits_rule::dwell

Consecutive sweeps the comparison must hold before the rule fires.

◆ index

uint8_t kfsw_limits_rule::index

Position in the file among the rules, from 0.

◆ latched

bool kfsw_limits_rule::latched

The rule has fired and the comparison has not yet gone false.

◆ node

uint16_t kfsw_limits_rule::node

Node the action is released on; 0 is this node.

◆ parameter

char kfsw_limits_rule::parameter[KFSW_PARAM_NAME_MAX+1U]

Parameter name without the optional node prefix.

◆ read_node

uint16_t kfsw_limits_rule::read_node

Node read from; 0 is local.

◆ streak

uint8_t kfsw_limits_rule::streak

Consecutive sweeps the comparison has held now.

◆ type

enum kfsw_param_type kfsw_limits_rule::type

Type of the parameter and bound; INVALID until a remote type is bound.


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