K-FSW ec10f94
Modular flight software on Zephyr, for small satellites
Loading...
Searching...
No Matches
kfsw_param_value Struct Reference

#include <parameter.h>

Public Attributes

enum kfsw_param_type type
 
size_t size
 
union kfsw_param_scalar scalar
 
union { 
 
   char   text [KFSW_PARAM_STRING_MAX] 
 
   uint8_t   bytes [KFSW_PARAM_STRING_MAX] 
 
};  
 

Detailed Description

One typed value, with shared storage for text and bytes.

Member Data Documentation

◆ bytes

uint8_t kfsw_param_value::bytes[KFSW_PARAM_STRING_MAX]

Raw data value.

KFSW_PARAM_DATA uses size as the element count.

◆ size

size_t kfsw_param_value::size

Bytes carried: the scalar width, or the string length with its terminator.

◆ text

char kfsw_param_value::text[KFSW_PARAM_STRING_MAX]

String value.

KFSW_PARAM_STRING includes a trailing NUL.


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