Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
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
 

Functions

void imu_mpu_hmc_init (void)
 
void imu_mpu_hmc_periodic (void)
 
void imu_mpu_hmc_event (void)
 

Variables

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

Function Documentation

void imu_mpu_hmc_periodic ( void  )

Definition at line 143 of file imu_mpu6000_hmc5883.c.

References ImuMpu6000Hmc5883::hmc, hmc58xx_periodic(), imu_mpu_hmc, ImuMpu6000Hmc5883::mpu, and mpu60x0_spi_periodic().

+ Here is the call graph for this function:

Variable Documentation

struct ImuMpu6000Hmc5883 imu_mpu_hmc

Definition at line 127 of file imu_mpu6000_hmc5883.c.

Referenced by imu_mpu_hmc_event(), and imu_mpu_hmc_periodic().