mpu9250: Adding support for MPU-9250 (and MPU-6050) accelerometer
Add support for mpu9250 accelerometer over I2C bus. Signed-off-by: Harry Beyel <harry3b9@gmail.com>
This commit is contained in:
committed by
Kevin O'Connor
parent
fc7838855f
commit
f55b9d3e57
13
src/i2ccmds.h
Normal file
13
src/i2ccmds.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef __I2CCMDS_H
|
||||
#define __I2CCMDS_H
|
||||
|
||||
#include <inttypes.h>
|
||||
#include "board/gpio.h" // i2c_config
|
||||
|
||||
struct i2cdev_s {
|
||||
struct i2c_config i2c_config;
|
||||
};
|
||||
|
||||
struct i2cdev_s *i2cdev_oid_lookup(uint8_t oid);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user