52#include "lib/sensors.h"
54#define TEMPERATURE_SENSOR "Temperature"
58#include "hal/nrf_temp.h"
60#define TEMP_ARCH_WAIT_US 4
61#define TEMP_ARCH_TRIES 10
164SENSORS_SENSOR(temperature_sensor, TEMPERATURE_SENSOR,
value, configure,
status);
static int configure(int type, int c)
Configures temperature sensor.
static int value(int type)
Returns device temperature.
static int status(int type)
Return temperature sensor status.