OSDN Git Service

Ignore avail freqs when the hrtimer trigger is selected
[android-x86/hardware-intel-libsensors.git] / transform.h
1 /*
2  * Copyright (C) 2014-2015 Intel Corporation.
3  */
4
5 #ifndef __TRANSFORM_H__
6 #define __TRANSFORM_H__
7
8 #include "common.h"
9
10 #define CONVERT_GAUSS_TO_MICROTESLA(x)  ((x) * 100)
11 #define CONVERT_MICROTESLA_TO_GAUSS(x)  ((x) / 100)
12
13 void    select_transform        (int s);
14 float   acquire_immediate_float_value   (int s, int c);
15 uint64_t acquire_immediate_uint64_value (int s, int c);
16
17 #endif
18
19
20