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::MrawReading Struct Reference

Decoded #MRAW O T S D I A P H (data sheet §4.3). More...

#include <fdo2_types.hpp>

Inheritance diagram for fdo2::MrawReading:
[legend]
Collaboration diagram for fdo2::MrawReading:
[legend]

Public Attributes

int32_t d_raw {}
 D (m°).
 
int32_t i_raw {}
 I (µV).
 
int32_t a_raw {}
 A (µV).
 
int32_t p_raw {}
 P (µbar at connector / back side).
 
int32_t h_raw {}
 H (mRH).
 
double dphi_deg {}
 D × 10⁻³ degrees.
 
double signal_intensity_mv {}
 I × 10⁻³ mV.
 
double ambient_light_mv {}
 A × 10⁻³ mV.
 
double pressure_mbar {}
 P × 10⁻⁶ mbar (≈ hPa).
 
double rh_in_housing_pct {}
 H × 10⁻³ RH.
 
- Public Attributes inherited from fdo2::MoxyReading
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 #MRAW O T S D I A P H (data sheet §4.3).

D millidegrees phase, I and A in microvolts (µV) → divide by 1000 for mV, P in microbar (µbar) → ×10⁻⁶ for mbar, H in milli-RH (mRH) → ×10⁻³ for RH.

Member Data Documentation

◆ a_raw

int32_t fdo2::MrawReading::a_raw {}

A (µV).

◆ ambient_light_mv

double fdo2::MrawReading::ambient_light_mv {}

A × 10⁻³ mV.

◆ d_raw

int32_t fdo2::MrawReading::d_raw {}

D (m°).

◆ dphi_deg

double fdo2::MrawReading::dphi_deg {}

D × 10⁻³ degrees.

◆ h_raw

int32_t fdo2::MrawReading::h_raw {}

H (mRH).

◆ i_raw

int32_t fdo2::MrawReading::i_raw {}

I (µV).

◆ p_raw

int32_t fdo2::MrawReading::p_raw {}

P (µbar at connector / back side).

◆ pressure_mbar

double fdo2::MrawReading::pressure_mbar {}

P × 10⁻⁶ mbar (≈ hPa).

◆ rh_in_housing_pct

double fdo2::MrawReading::rh_in_housing_pct {}

H × 10⁻³ RH.

◆ signal_intensity_mv

double fdo2::MrawReading::signal_intensity_mv {}

I × 10⁻³ mV.


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