Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
imu_cube.c File Reference

Driver for the IMU's in the Cube autopilots. More...

#include "generated/modules.h"
#include "modules/imu/imu.h"
#include "modules/core/abi.h"
#include "mcu_periph/spi.h"
#include "peripherals/invensense2.h"
#include "peripherals/invensense3.h"
#include "peripherals/mpu60x0_spi.h"
+ Include dependency graph for imu_cube.c:

Go to the source code of this file.

Functions

void imu_cube_init (void)
 
void imu_cube_periodic (void)
 
void imu_cube_event (void)
 

Variables

static struct invensense2_t imu1
 
static struct Mpu60x0_Spi imu2
 
static struct invensense2_t imu3
 

Detailed Description

Driver for the IMU's in the Cube autopilots.

Definition in file imu_cube.c.

Function Documentation

◆ imu_cube_event()

void imu_cube_event ( void  )

◆ imu_cube_init()

◆ imu_cube_periodic()

void imu_cube_periodic ( void  )

Definition at line 131 of file imu_cube.c.

References imu1, imu2, imu3, invensense2_periodic(), invensense3_periodic(), and mpu60x0_spi_periodic().

+ Here is the call graph for this function:

Variable Documentation

◆ imu1

struct invensense2_t imu1
static

Definition at line 1 of file imu_cube.c.

Referenced by imu_cube_event(), imu_cube_init(), and imu_cube_periodic().

◆ imu2

struct Mpu60x0_Spi imu2
static

Definition at line 1 of file imu_cube.c.

Referenced by imu_cube_event(), imu_cube_init(), and imu_cube_periodic().

◆ imu3

struct invensense2_t imu3
static

Definition at line 1 of file imu_cube.c.

Referenced by imu_cube_event(), imu_cube_init(), and imu_cube_periodic().