HF-FDO2 Driver 0.1.0-dev
UART driver for PyroScience FDO2-G2 (data sheet v5 §4: #MOXY, #MRAW, #VERS)
Loading...
Searching...
No Matches
fdo2::MoxyReading Struct Reference

Decoded #MOXY O T S sample (data sheet §4.3). More...

#include <fdo2_types.hpp>

Inheritance diagram for fdo2::MoxyReading:
[legend]

Public Attributes

int32_t o_raw {}
 O as received (1e-3 hPa).
 
int32_t t_raw {}
 T as received (m°C).
 
uint32_t status_u32 {}
 S as received.
 
double p_o2_hpa {}
 Partial pressure O₂ [hPa] = O × 10⁻³.
 
double temp_c {}
 Temperature [°C] = T × 10⁻³.
 

Detailed Description

Decoded #MOXY O T S sample (data sheet §4.3).

Raw O is signed 32-bit in 10⁻³ hPa (milli-hPa). T is m°C (milli-degrees C). S is unsigned 32-bit status (warning/error bits).

Member Data Documentation

◆ o_raw

int32_t fdo2::MoxyReading::o_raw {}

O as received (1e-3 hPa).

◆ p_o2_hpa

double fdo2::MoxyReading::p_o2_hpa {}

Partial pressure O₂ [hPa] = O × 10⁻³.

◆ status_u32

uint32_t fdo2::MoxyReading::status_u32 {}

S as received.

◆ t_raw

int32_t fdo2::MoxyReading::t_raw {}

T as received (m°C).

◆ temp_c

double fdo2::MoxyReading::temp_c {}

Temperature [°C] = T × 10⁻³.


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