Firmware
Classes | Macros | Functions
mpu9250_spi.cpp File Reference

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

#include <px4_config.h>
#include <drivers/device/spi.h>
#include <drivers/drv_accel.h>
#include <drivers/drv_device.h>
#include "mpu9250.h"

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::DeviceMPU9250_SPI_interface (int bus, uint32_t cs, bool external_bus)
 

Detailed Description

Driver for the Invensense ICM20948 connected via SPI.

Driver for the Invensense MPU9250 connected via SPI.

Author
Andrew Tridgell
Pat Hickey
David sidrane