Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
imu_b2.c File Reference
#include "subsystems/imu.h"
#include "led.h"
#include "subsystems/abi.h"
#include "mcu_periph/sys_time.h"
+ Include dependency graph for imu_b2.c:

Go to the source code of this file.

Macros

#define ImuMagEvent()   {}
 Event functions for imu_b2. More...
 

Functions

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

Variables

struct ImuBooz2 imu_b2
 

Detailed Description

Driver for the Booz2 IMUs.

Analog gyros and accelerometers are read via MAX1168 16-bit SPI ADC. Depending on version, different I2C or SPI magnetometers are used.

Definition in file imu_b2.c.

Macro Definition Documentation

◆ ImuMagEvent

#define ImuMagEvent ( )    {}

Event functions for imu_b2.

Definition at line 148 of file imu_b2.c.

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().