1 /*
2  * Copyright (c) 2023 Google LLC
3  * Copyright (c) 2025 Croxel Inc.
4  * Copyright (c) 2025 CogniPilot Foundation
5  *
6  * SPDX-License-Identifier: Apache-2.0
7  */
8 
9 #ifndef ZEPHYR_DRIVERS_SENSOR_ICM45686_DECODER_H_
10 #define ZEPHYR_DRIVERS_SENSOR_ICM45686_DECODER_H_
11 
12 #include <stdint.h>
13 #include <zephyr/drivers/sensor.h>
14 #include "icm45686.h"
15 
16 int icm45686_encode(const struct device *dev,
17 		    const struct sensor_chan_spec *const channels,
18 		    const size_t num_channels,
19 		    uint8_t *buf);
20 
21 int icm45686_get_decoder(const struct device *dev,
22 			 const struct sensor_decoder_api **decoder);
23 
24 #endif /* ZEPHYR_DRIVERS_SENSOR_ICM45686_DECODER_H_ */
25