BMP581 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
bmp581::Measurement Struct Reference

One measurement in the chip's own units, as the data registers hold it (section 4.5). More...

#include <bmp581_types.hpp>

Public Attributes

int32_t pressure_raw {0}
 Pressure in 1/64 Pa.
 
int32_t temperature_raw {0}
 Temperature in 1/65536 °C.
 

Detailed Description

One measurement in the chip's own units, as the data registers hold it (section 4.5).

The chip compensates on chip; the driver only sign-extends the 24-bit values. PressurePa() and TemperatureC() divide exactly (a float holds every 24-bit value).


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