summaryrefslogtreecommitdiff
path: root/drivers/iio/imu/inv_mpu6050/inv_mpu_aux.h
blob: b669975457626d70770f6228c734c51d12eae695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2019 TDK-InvenSense, Inc.
 */

#ifndef INV_MPU_AUX_H_
#define INV_MPU_AUX_H_

#include "inv_mpu_iio.h"

int inv_mpu_aux_init(const struct inv_mpu6050_state *st);

int inv_mpu_aux_read(const struct inv_mpu6050_state *st, uint8_t addr,
		     uint8_t reg, uint8_t *val, size_t size);

int inv_mpu_aux_write(const struct inv_mpu6050_state *st, uint8_t addr,
		      uint8_t reg, uint8_t val);

#endif		/* INV_MPU_AUX_H_ */