PX4 Firmware
PX4 Autopilot Software http://px4.io
MPU6000_SPI.cpp File Reference

Driver for the Invensense MPU6000 connected via SPI. More...

#include <drivers/device/spi.h>
#include "MPU6000.hpp"
Include dependency graph for MPU6000_SPI.cpp:

Go to the source code of this file.

Macros

#define DIR_READ   0x80
 
#define DIR_WRITE   0x00
 

Detailed Description

Driver for the Invensense MPU6000 connected via SPI.

Author
Andrew Tridgell
Pat Hickey
David sidrane

Definition in file MPU6000_SPI.cpp.

Macro Definition Documentation

◆ DIR_READ

#define DIR_READ   0x80

Definition at line 48 of file MPU6000_SPI.cpp.

◆ DIR_WRITE

#define DIR_WRITE   0x00

Definition at line 49 of file MPU6000_SPI.cpp.