PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Driver for the Invensense MPU9250 connected via SPI. More...
Go to the source code of this file.
Classes | |
class | MPU9250_SPI |
Macros | |
#define | DIR_READ 0x80 |
#define | DIR_WRITE 0x00 |
#define | MPU9250_LOW_SPI_BUS_SPEED 1000*1000 |
#define | MPU9250_HIGH_SPI_BUS_SPEED 20*1000*1000 |
Functions | |
device::Device * | MPU9250_SPI_interface (int bus, uint32_t cs) |
Driver for the Invensense MPU9250 connected via SPI.
Definition in file mpu9250_spi.cpp.
#define DIR_READ 0x80 |
Definition at line 47 of file mpu9250_spi.cpp.
Referenced by MPU9250_SPI::read().
#define DIR_WRITE 0x00 |
Definition at line 48 of file mpu9250_spi.cpp.
Referenced by MPU9250_SPI::write().
#define MPU9250_HIGH_SPI_BUS_SPEED 20*1000*1000 |
Definition at line 60 of file mpu9250_spi.cpp.
Referenced by MPU9250_SPI::set_bus_frequency().
#define MPU9250_LOW_SPI_BUS_SPEED 1000*1000 |
Definition at line 59 of file mpu9250_spi.cpp.
Referenced by MPU9250_SPI::set_bus_frequency().
device::Device* MPU9250_SPI_interface | ( | int | bus, |
uint32_t | cs | ||
) |
Definition at line 83 of file mpu9250_spi.cpp.