1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright (C) 2019 TDK-InvenSense, Inc. 4 */ 5 6 #ifndef INV_MPU_AUX_H_ 7 #define INV_MPU_AUX_H_ 8 9 #include "inv_mpu_iio.h" 10 11 int inv_mpu_aux_init(const struct inv_mpu6050_state *st); 12 13 int inv_mpu_aux_read(const struct inv_mpu6050_state *st, uint8_t addr, 14 uint8_t reg, uint8_t *val, size_t size); 15 16 int inv_mpu_aux_write(const struct inv_mpu6050_state *st, uint8_t addr, 17 uint8_t reg, uint8_t val); 18 19 #endif /* INV_MPU_AUX_H_ */ 20