|
K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
|
#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 |
Procedure state and execution counters.
| bool kfsw_fbo_status::exclusive |
Whether the running procedure is protecting itself against concurrency.
| int kfsw_fbo_status::last_result |
Last completed run: 0 on success, negative errno on failure or cancellation.
| uint16_t kfsw_fbo_status::line |
Line the current or last run stopped on, 1-based, 0 before any.
| uint32_t kfsw_fbo_status::lines_failed |
Lines that reported a failure.
| 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.
| uint32_t kfsw_fbo_status::lines_run |
Lines carried out since boot, across all runs.
| uint32_t kfsw_fbo_status::lines_skipped |
Lines skipped by a guard.
| char kfsw_fbo_status::name[KFSW_FBO_NAME_MAX] |
Procedure currently running, or the last one that ran.
| uint32_t kfsw_fbo_status::refused_direct |
Commands refused while a protected part of a procedure was running.
| bool kfsw_fbo_status::running |
Whether a procedure is running now.
| uint32_t kfsw_fbo_status::runs |
Procedures started since boot.