1 /*
2  * Copyright (c) 2020-2021 Huawei Device Co., Ltd.
3  *
4  * HDF is dual licensed: you can use it either under the terms of
5  * the GPL, or the BSD license, at your option.
6  * See the LICENSE file in the root of this repository for complete details.
7  */
8 
9 #ifndef HDF_SENSOR_DRIVER_TEST_H
10 #define HDF_SENSOR_DRIVER_TEST_H
11 
12 #include "hdf_workqueue.h"
13 #include "osal_timer.h"
14 
15 #define SENSOR_TEST_SAMPLING_200_MS    200000000
16 
17 struct SensorTestDrvData {
18     uint8_t initStatus;
19     int64_t interval;
20     HdfWorkQueue workQueue;
21     HdfWork work;
22     OsalTimer timer;
23     bool enable;
24 };
25 
26 #endif // HDF_SENSOR_DRIVER_TEST_H