Temperature Sensor#

Hardware Interface#

Defined in namespace hal

#include <libhal/temperature_sensor.hpp>

class temperature_sensor#

Temperature sensing hardware abstraction interface.

Subclassed by hal::soft::inert_temperature_sensor

Public Functions

inline celsius read()#

Read the current temperature measured by the device.

Returns:

celsius - Measured temperature