/*
 * Copyright (c) 2020 TDK Invensense
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef ZEPHYR_DRIVERS_SENSOR_ICP20100_ICP20100_SPI_H_
#define ZEPHYR_DRIVERS_SENSOR_ICP20100_ICP20100_SPI_H_

#include <zephyr/device.h>
#include <zephyr/drivers/spi.h>

int inv20100_spi_single_write(const struct spi_dt_spec *bus, uint8_t reg, uint8_t *data);
int inv20100_spi_read(const struct spi_dt_spec *bus, uint8_t reg, uint8_t *data, size_t len);

#endif /* __SENSOR_ICP20100_ICP20100_SPI__ */
