46 #ifndef SOFTDEVICE_PRESENT 52 #include "dev/temperature-sensor.h" 55 const struct sensors_sensor temperature_sensor;
66 #ifndef SOFTDEVICE_PRESENT 67 return nrf_temp_read();
86 #ifndef SOFTDEVICE_PRESENT 87 if (type == SENSORS_HW_INIT) {
static int status(int type)
Return temperature sensor status.
static int value(int type)
Returns device temperature.
static int configure(int type, int c)
Configures temperature sensor.