modm API documentation
modm::stts22h< I2cMaster >::Data Struct Reference

Public Member Functions

constexpr int16_t getTemperatureFractional ()
 
constexpr float getTemperature ()
 

Public Attributes

uint8_t data [2]
 

Member Function Documentation

template<class I2cMaster >
constexpr float modm::stts22h< I2cMaster >::Data::getTemperature ( )
inlineconstexpr
Returns
temperature as float in °C
template<class I2cMaster >
constexpr int16_t modm::stts22h< I2cMaster >::Data::getTemperatureFractional ( )
inlineconstexpr
Returns
temperature in 1/100th °C

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