Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_aspirin_2_spi.h File Reference

Driver for the Aspirin v2.x IMU using SPI for the MPU6000. More...

#include "std.h"
#include "generated/airframe.h"
#include "subsystems/imu.h"
#include "subsystems/imu/imu_mpu60x0_defaults.h"
#include "peripherals/mpu60x0_spi.h"
+ Include dependency graph for imu_aspirin_2_spi.h:

Go to the source code of this file.

Data Structures

struct  ImuAspirin2Spi
 

Macros

#define IMU_GYRO_P_SIGN   1
 
#define IMU_GYRO_Q_SIGN   1
 
#define IMU_GYRO_R_SIGN   1
 
#define IMU_ACCEL_X_SIGN   1
 
#define IMU_ACCEL_Y_SIGN   1
 
#define IMU_ACCEL_Z_SIGN   1
 
#define IMU_MAG_X_SIGN   1
 
#define IMU_MAG_Y_SIGN   1
 
#define IMU_MAG_Z_SIGN   1
 

Functions

void imu_aspirin2_event (void)
 
static void ImuEvent (void(*_gyro_handler)(void), void(*_accel_handler)(void), void(*_mag_handler)(void))
 

Variables

struct ImuAspirin2Spi imu_aspirin2
 

Detailed Description

Driver for the Aspirin v2.x IMU using SPI for the MPU6000.

Definition in file imu_aspirin_2_spi.h.

Macro Definition Documentation

#define IMU_ACCEL_X_SIGN   1

Definition at line 43 of file imu_aspirin_2_spi.h.

#define IMU_ACCEL_Y_SIGN   1

Definition at line 44 of file imu_aspirin_2_spi.h.

#define IMU_ACCEL_Z_SIGN   1

Definition at line 45 of file imu_aspirin_2_spi.h.

#define IMU_GYRO_P_SIGN   1

Definition at line 38 of file imu_aspirin_2_spi.h.

#define IMU_GYRO_Q_SIGN   1

Definition at line 39 of file imu_aspirin_2_spi.h.

#define IMU_GYRO_R_SIGN   1

Definition at line 40 of file imu_aspirin_2_spi.h.

#define IMU_MAG_X_SIGN   1

Definition at line 48 of file imu_aspirin_2_spi.h.

#define IMU_MAG_Y_SIGN   1

Definition at line 49 of file imu_aspirin_2_spi.h.

#define IMU_MAG_Z_SIGN   1

Definition at line 50 of file imu_aspirin_2_spi.h.

Function Documentation

static void ImuEvent ( void(*)(void)  _gyro_handler,
void(*)(void)  _accel_handler,
void(*)(void)  _mag_handler 
)
inlinestatic

Definition at line 70 of file imu_aspirin_2_spi.h.

References ImuAspirin2Spi::accel_valid, FALSE, ImuAspirin2Spi::gyro_valid, imu_aspirin2, imu_aspirin2_event(), and ImuAspirin2Spi::mag_valid.

+ Here is the call graph for this function:

Variable Documentation