20 lines
614 B
C
20 lines
614 B
C
/*
|
|
* Copyright (c) 2020 TDK Invensense
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_DRIVERS_SENSOR_ICM42605_ICM42605_SETUP_H_
|
|
#define ZEPHYR_DRIVERS_SENSOR_ICM42605_ICM42605_SETUP_H_
|
|
|
|
#include <device.h>
|
|
|
|
int icm42605_sensor_init(const struct device *dev);
|
|
int icm42605_turn_on_fifo(const struct device *dev);
|
|
int icm42605_turn_off_fifo(const struct device *dev);
|
|
int icm42605_turn_off_sensor(const struct device *dev);
|
|
int icm42605_turn_on_sensor(const struct device *dev);
|
|
int icm42605_set_odr(const struct device *dev, int a_rate, int g_rate);
|
|
|
|
#endif /* __SENSOR_ICM42605_ICM42605_SETUP__ */
|