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

#include <temperature_sensor_example.h>

Public Attributes

int32_t milli_c
 
uint32_t samples
 
uint32_t failures
 
uint32_t last_uptime_ms
 
bool valid
 

Detailed Description

Cached temperature and read counters.

Member Data Documentation

◆ failures

uint32_t kfsw_temp_example_reading::failures

Reads that returned an error.

◆ last_uptime_ms

uint32_t kfsw_temp_example_reading::last_uptime_ms

Low 32 bits of monotonic milliseconds at the latest successful read.

◆ milli_c

int32_t kfsw_temp_example_reading::milli_c

Latest temperature in thousandths of a degree Celsius.

◆ samples

uint32_t kfsw_temp_example_reading::samples

Successful reads.

◆ valid

bool kfsw_temp_example_reading::valid

Whether milli_c is a successful reading within the maximum age.


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