OSDN Git Service

Ignore avail freqs when the hrtimer trigger is selected
[android-x86/hardware-intel-libsensors.git] / enumeration.h
1 /*
2  * Copyright (C) 2014-2015 Intel Corporation.
3  */
4
5 #ifndef __ENUMERATION_H__
6 #define __ENUMERATION_H__
7
8 #include "common.h"
9
10 int     get_sensors_list        (struct sensors_module_t* module,
11                                  struct sensor_t const** list);
12
13 void    enumerate_sensors       (void);
14 void    delete_enumeration_data (void);
15
16 /*
17  * These are fine-grained type definitions that are used internally, in the sensor array, but mapped to an Android sensor type in the processing pipeline.
18  * The sensor array uses these, not the desc array.
19  */
20 #define SENSOR_TYPE_INTERNAL_ILLUMINANCE        -1      /* Global illuminance, in lux                            */
21 #define SENSOR_TYPE_INTERNAL_INTENSITY          -2      /* Global intensity, in sensor specific units            */
22
23 #endif