1 /*
2  * Copyright (c) 2021, Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_DRIVERS_SENSOR_MPU9250_AK8963_H_
8 #define ZEPHYR_DRIVERS_SENSOR_MPU9250_AK8963_H_
9 
10 #include <stdint.h>
11 
12 #include <zephyr/device.h>
13 #include <zephyr/drivers/sensor.h>
14 
15 
16 int ak8963_convert_magn(struct sensor_value *val, int16_t raw_val,
17 			int16_t scale, uint8_t st2);
18 
19 int ak8963_init(const struct device *dev);
20 
21 #endif /* ZEPHYR_DRIVERS_SENSOR_MPU9250_AK8963_H_ */
22