|
Contiki 3.x
|
Driver for the Sensortag-CC26xx HDC sensor. More...
#include "contiki-conf.h"#include "sys/ctimer.h"#include "lib/sensors.h"#include "hdc-1000-sensor.h"#include "sensor-common.h"#include "board-i2c.h"#include "ti-lib.h"#include <stdint.h>#include <string.h>#include <stdbool.h>#include <stdio.h>Go to the source code of this file.
Functions | |
| static bool | sensor_init (void) |
| Initialise the humidity sensor driver. More... | |
| static void | start (void) |
| Start measurement. | |
| static bool | read_data () |
| Take readings from the sensor. More... | |
| static void | convert (float *temp, float *hum) |
| Convert raw data to temperature and humidity. More... | |
| static int | value (int type) |
| Returns a reading from the sensor. More... | |
| static int | configure (int type, int enable) |
| Configuration function for the HDC1000 sensor. More... | |
| static int | status (int type) |
| Returns the status of the sensor. More... | |
Driver for the Sensortag-CC26xx HDC sensor.
Definition in file hdc-1000-sensor.c.
1.8.6