Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
imu_b2.h File Reference
#include "generated/airframe.h"
#include "peripherals/max1168.h"
#include "subsystems/imu.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
 

Functions

void imu_b2_init (void)
 
void imu_b2_periodic (void)
 
void imu_b2_event (void)
 

Variables

struct ImuBooz2 imu_b2
 

Detailed Description

Interface for the Booz2 IMUs.

Definition in file imu_b2.h.


Data Structure Documentation

◆ ImuBooz2

struct ImuBooz2

Definition at line 168 of file imu_b2.h.

Macro Definition Documentation

◆ IMU_B2_MAG_AMI601

#define IMU_B2_MAG_AMI601   2

Definition at line 40 of file imu_b2.h.

◆ IMU_B2_MAG_HMC5843

#define IMU_B2_MAG_HMC5843   3

Definition at line 41 of file imu_b2.h.

◆ IMU_B2_MAG_HMC58XX

#define IMU_B2_MAG_HMC58XX   4

Definition at line 42 of file imu_b2.h.

◆ IMU_B2_MAG_MS2100

#define IMU_B2_MAG_MS2100   1

Definition at line 39 of file imu_b2.h.

◆ IMU_B2_MAG_NONE

#define IMU_B2_MAG_NONE   0

Definition at line 38 of file imu_b2.h.

Function Documentation

◆ imu_b2_event()

◆ imu_b2_init()

void imu_b2_init ( void  )

Definition at line 38 of file imu_b2.c.

References ami601_init(), hmc5843_init(), HMC58XX_ADDR, hmc58xx_init(), HMC_TYPE_5843, imu_b2, max1168_init(), ms2100, and ms2100_init().

+ Here is the call graph for this function:

◆ imu_b2_periodic()

void imu_b2_periodic ( void  )

Definition at line 57 of file imu_b2.c.

References ami601_read(), hmc58xx_periodic(), imu_b2, Max1168Periodic, ms2100, and ms2100_periodic().

+ Here is the call graph for this function:

Variable Documentation

◆ imu_b2

struct ImuBooz2 imu_b2

Definition at line 34 of file imu_b2.c.

Referenced by imu_b2_init(), and imu_b2_periodic().