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

#include <fbo.h>

Public Attributes

char name [KFSW_FBO_NAME_MAX]
 
bool running
 
uint32_t lines_run
 
uint32_t lines_failed
 
uint32_t lines_skipped
 
uint32_t runs
 
uint32_t lines_interleaved
 
uint32_t refused_direct
 
uint16_t line
 
bool exclusive
 
int last_result
 

Detailed Description

Procedure state and execution counters.

Member Data Documentation

◆ exclusive

bool kfsw_fbo_status::exclusive

Whether the running procedure is protecting itself against concurrency.

◆ last_result

int kfsw_fbo_status::last_result

Last completed run: 0 on success, negative errno on failure or cancellation.

◆ line

uint16_t kfsw_fbo_status::line

Line the current or last run stopped on, 1-based, 0 before any.

◆ lines_failed

uint32_t kfsw_fbo_status::lines_failed

Lines that reported a failure.

◆ lines_interleaved

uint32_t kfsw_fbo_status::lines_interleaved

Lines a command from somewhere else ran underneath.

A direct command takes precedence over a procedure step, so an operator needs to be able to tell afterwards that the two interleaved.

◆ lines_run

uint32_t kfsw_fbo_status::lines_run

Lines carried out since boot, across all runs.

◆ lines_skipped

uint32_t kfsw_fbo_status::lines_skipped

Lines skipped by a guard.

◆ name

char kfsw_fbo_status::name[KFSW_FBO_NAME_MAX]

Procedure currently running, or the last one that ran.

◆ refused_direct

uint32_t kfsw_fbo_status::refused_direct

Commands refused while a protected part of a procedure was running.

◆ running

bool kfsw_fbo_status::running

Whether a procedure is running now.

◆ runs

uint32_t kfsw_fbo_status::runs

Procedures started since boot.


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