Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_mpu6000_hmc5883.h File Reference

Driver for IMU with MPU6000 via SPI and HMC5883 via I2c. 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 "peripherals/hmc58xx.h"
+ Include dependency graph for imu_mpu6000_hmc5883.h:

Go to the source code of this file.

Data Structures

struct  ImuMpu6000Hmc5883


#define ImuEvent   imu_mpu_hmc_event


void imu_mpu_hmc_event (void)


struct ImuMpu6000Hmc5883 imu_mpu_hmc

Detailed Description

Driver for IMU with MPU6000 via SPI and HMC5883 via I2c.

E.g. for Aspirin 2.1

Definition in file imu_mpu6000_hmc5883.h.

Data Structure Documentation

struct ImuMpu6000Hmc5883

Definition at line 40 of file imu_mpu6000_hmc5883.h.

+ Collaboration diagram for ImuMpu6000Hmc5883:
Data Fields
struct Hmc58xx hmc
struct Mpu60x0_Spi mpu

Macro Definition Documentation

#define ImuEvent   imu_mpu_hmc_event

Definition at line 49 of file imu_mpu6000_hmc5883.h.

Function Documentation

Variable Documentation

struct ImuMpu6000Hmc5883 imu_mpu_hmc

Definition at line 73 of file imu_mpu6000_hmc5883.c.

Referenced by imu_mpu_hmc_event(), and imu_periodic().