Contiki 2.6

temperature-sensor.c File Reference

Temperature sensor. More...

#include "hal/error.h"
#include "hal/hal.h"
#include "micro/adc.h"
#include "dev/temperature-sensor.h"

Go to the source code of this file.

Defines

#define TEMPERATURE_SENSOR_GPIO   PORTB_PIN(7)
 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.

Author:
Salvatore Pitrulli <salvopitru@users.sourceforge.net>

Definition in file temperature-sensor.c.