#include <modm/driver/temperature/tmp12x.hpp>
 | 
| 
using  | Fraction = std::ratio< Numerator, Denominator > | 
|   | 
 | 
| 
constexpr  | Tmp12xTemperature (uint16_t sensorData) | 
|   | 
| 
constexpr float  | getTemperatureFloat () const | 
|   | 
| 
constexpr int16_t  | getTemperatureInteger () const | 
|   | 
| 
constexpr int16_t  | getTemperatureFractional () const | 
|   | 
template<uint8_t NumBits, uint8_t OffsetBits, uint8_t Numerator, uint8_t Denominator>
class modm::Tmp12xTemperature< NumBits, OffsetBits, Numerator, Denominator >
TMP12x temperature data Use aliases Tmp121Temperature, Tmp123Temperature, Tmp125Temperature for the respective sensor.
- Author
 - Christopher Durand
 
- Template Parameters
 - 
  
    | numBits | Number of bits of measured temperature  | 
    | offsetBits | Invalid LSB of raw sensor value  | 
    | numerator |  | 
    | denominator |  | 
  
   
The documentation for this class was generated from the following file: