1 /*
2  * Copyright (c) 2021-2022 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 HALL_AK8789_H
10 #define HALL_AK8789_H
11 
12 #include "sensor_config_parser.h"
13 #include "sensor_hall_driver.h"
14 
15 int32_t DetectHallAk8789Chip(struct SensorCfgData *data);
16 
17 struct Ak8789DrvData {
18     struct IDeviceIoService ioService;
19     struct HdfDeviceObject *device;
20     struct SensorCfgData *sensorCfg;
21 };
22 
23 #endif /* HALL_AK8789_H */