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

Interface for the Booz2 IMUs. More...

#include "subsystems/imu.h"
#include "generated/airframe.h"
#include "peripherals/max1168.h"
+ Include dependency graph for imu_b2.h:

Go to the source code of this file.

Data Structures

struct  ImuBooz2
 

Macros

#define IMU_B2_MAG_NONE   0
 
#define IMU_B2_MAG_MS2100   1
 
#define IMU_B2_MAG_AMI601   2
 
#define IMU_B2_MAG_HMC5843   3
 
#define IMU_B2_MAG_HMC58XX   4
 
#define ImuMagEvent(_mag_handler)   {}
 Event functions and macros for imu_b2. More...
 
#define ImuScaleMag(_imu)   {}
 

Functions

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

Variables

struct ImuBooz2 imu_b2
 

Detailed Description

Interface for the Booz2 IMUs.

Definition in file imu_b2.h.

Macro Definition Documentation

#define IMU_B2_MAG_AMI601   2

Definition at line 41 of file imu_b2.h.

#define IMU_B2_MAG_HMC5843   3

Definition at line 42 of file imu_b2.h.

#define IMU_B2_MAG_HMC58XX   4

Definition at line 43 of file imu_b2.h.

#define IMU_B2_MAG_MS2100   1

Definition at line 40 of file imu_b2.h.

#define IMU_B2_MAG_NONE   0

Definition at line 39 of file imu_b2.h.

#define ImuMagEvent (   _mag_handler)    {}

Event functions and macros for imu_b2.

Definition at line 217 of file imu_b2.h.

Referenced by ImuEvent().

#define ImuScaleMag (   _imu)    {}

Definition at line 218 of file imu_b2.h.

Function Documentation

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

Variable Documentation

struct ImuBooz2 imu_b2

Definition at line 34 of file imu_b2.c.

Referenced by imu_impl_init(), and imu_periodic().