modm API documentation
modm::bmp085data::DataDouble Class Reference
Inheritance diagram for modm::bmp085data::DataDouble:
modm::bmp085data::DataBase

Public Member Functions

int16_t getTemperature ()
 
void getTemperature (int16_t &temp)
 
void getTemperature (float &temp)
 
void getTemperature (double &temp)
 
int32_t getPressure ()
 
CalibrationgetCalibration ()
 DATA Access.
 
void rawPressureTouched ()
 Notify data class about changed buffer of raw pressure data.
 
void rawTemperatureTouched ()
 Notify data class about changed buffer of raw temperature data.
 

Protected Types

enum  { CALIBRATION_CALCULATED = Bit2, TEMPERATURE_CALCULATED = Bit1, PRESSURE_CALCULATED = Bit0 }
 

Protected Member Functions

void calculateCalibratedTemperature ()
 
void calculateCalibratedPressure ()
 

Protected Attributes

Calibration calibration
 
uint8_t meta = 0
 
uint8_t raw [5]
 

Member Enumeration Documentation

anonymous enum
inheritedprotected
Enum ValuesDocumentation
TEMPERATURE_CALCULATED 

Remember if the raw data was already converted to calibrated temperature.

PRESSURE_CALCULATED 

Remember if the raw data was already converted to calibrated pressure.

Member Data Documentation

uint8_t modm::bmp085data::DataBase::raw[5]
inheritedprotected

The raw data that was read from the sensor 0 .. 1 temperature data 2 .. 4 pressure data


The documentation for this class was generated from the following files: