Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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 )

Definition at line 202 of file imu_cube.c.

References get_sys_time_usec(), imu1, imu2, imu3, IMU_CUBE2_ID, invensense2_event(), invensense3_456_event(), invensense3_event(), and mpu60x0_spi_event().

Here is the call graph for this function:

◆ imu_cube_init()

◆ imu_cube_periodic()

void imu_cube_periodic ( void )

Definition at line 185 of file imu_cube.c.

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

Here is the call graph for this function:

Variable Documentation

◆ imu1

◆ imu2

◆ imu3