Contiki 3.x
Functions | Variables
temperature-sensor.c File Reference

Temperature sensor implementation. More...

#include "nrf_temp.h"
#include "contiki.h"
#include "dev/temperature-sensor.h"

Go to the source code of this file.

Functions

static int value (int type)
 Returns device temperature. More...
 
static int configure (int type, int c)
 Configures temperature sensor. More...
 
static int status (int type)
 Return temperature sensor status. More...
 

Variables

const struct sensors_sensor temperature_sensor
 NOTE: For the temperature measurement, the ADC extended range mode is needed; but this is inaccurate due to the high voltage mode bug of the general purpose ADC (see STM32W108 errata).
 

Detailed Description

Temperature sensor implementation.

Author
Wojciech Bober wojci.nosp@m.ech..nosp@m.bober.nosp@m.@nor.nosp@m.dicse.nosp@m.mi.n.nosp@m.o

Definition in file temperature-sensor.c.