Temperature Sensor#

Hardware Interface#

Defined in namespace hal

#include <libhal/temperature_sensor.hpp>

class temperature_sensor#

Temperature sensing hardware abstraction interface.

Subclassed by hal::actuator::rmd_drc_temperature_sensor, hal::actuator::rmd_mc_x_temperature, hal::soft::inert_temperature_sensor, hal::tmp::tmp102

Public Functions

inline celsius read()#

Read the current temperature measured by the device.

Returns:

celsius - Measured temperature