46 #ifndef SOFTDEVICE_PRESENT
52 #include "dev/temperature-sensor.h"
66 #ifndef SOFTDEVICE_PRESENT
67 return nrf_temp_read();
86 #ifndef SOFTDEVICE_PRESENT
87 if (type == SENSORS_HW_INIT) {
static int value(int type)
Returns device temperature.
static int status(int type)
Return temperature sensor status.
static int configure(int type, int c)
Configures temperature sensor.
const struct sensors_sensor temperature_sensor
NOTE: For the temperature measurement, the ADC extended range mode is needed; but this is inaccurate ...