|
K-FSW v1.2.1-59-gcaca356
KFSW: modular flight software on Zephyr, for small satellites
|
#include <temperature_sensor_example.h>
Public Attributes | |
| int32_t | milli_c |
| uint32_t | samples |
| uint32_t | failures |
| uint32_t | last_uptime_ms |
| uint32_t | alarms |
| bool | valid |
| bool | alarm |
Cached temperature and read counters.
| bool kfsw_temp_example_reading::alarm |
Whether the latest reading is at or above the alarm threshold.
| uint32_t kfsw_temp_example_reading::alarms |
Times a reading crossed the alarm threshold upwards.
| uint32_t kfsw_temp_example_reading::failures |
Reads that returned an error.
| uint32_t kfsw_temp_example_reading::last_uptime_ms |
Low 32 bits of monotonic milliseconds at the latest successful read.
| int32_t kfsw_temp_example_reading::milli_c |
Latest temperature in thousandths of a degree Celsius.
| uint32_t kfsw_temp_example_reading::samples |
Successful reads.
| bool kfsw_temp_example_reading::valid |
Whether milli_c is a successful reading within the maximum age.