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.


Generated on Mon Apr 11 14:23:50 2011 for Contiki 2.5 by  doxygen 1.6.1