1 /*
2  * Copyright (c) 2020 TDK Invensense
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_DRIVERS_SENSOR_ICM42605_ICM42605_SPI_H_
8 #define ZEPHYR_DRIVERS_SENSOR_ICM42605_ICM42605_SPI_H_
9 
10 #include <zephyr/device.h>
11 #include <zephyr/drivers/spi.h>
12 
13 int inv_spi_single_write(const struct spi_dt_spec *bus, uint8_t reg, uint8_t *data);
14 int inv_spi_read(const struct spi_dt_spec *bus, uint8_t reg, uint8_t *data, size_t len);
15 
16 #endif /* __SENSOR_ICM42605_ICM42605_SPI__ */
17