Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
imu_aspirin_2_spi.h File Reference

Driver for the Aspirin v2.x IMU using SPI for the MPU6000. More...

#include "std.h"
#include "generated/airframe.h"
#include "modules/imu/imu.h"
#include "peripherals/mpu60x0_spi.h"
+ Include dependency graph for imu_aspirin_2_spi.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ImuAspirin2Spi
 

Macros

#define ASPIRIN_2_GYRO_RANGE   MPU60X0_GYRO_RANGE_2000
 
#define ASPIRIN_2_ACCEL_RANGE   MPU60X0_ACCEL_RANGE_16G
 

Functions

void imu_aspirin2_init (void)
 
void imu_aspirin2_event (void)
 
void imu_aspirin2_periodic (void)
 

Variables

struct ImuAspirin2Spi imu_aspirin2
 

Detailed Description

Driver for the Aspirin v2.x IMU using SPI for the MPU6000.

Definition in file imu_aspirin_2_spi.h.


Data Structure Documentation

◆ ImuAspirin2Spi

struct ImuAspirin2Spi

Definition at line 44 of file imu_aspirin_2_spi.h.

+ Collaboration diagram for ImuAspirin2Spi:
Data Fields
struct Mpu60x0_Spi mpu
volatile bool slave4_ready
volatile uint8_t wait_slave4_rx_buf[2]
struct spi_transaction wait_slave4_trans
volatile uint8_t wait_slave4_tx_buf[1]

Macro Definition Documentation

◆ ASPIRIN_2_ACCEL_RANGE

#define ASPIRIN_2_ACCEL_RANGE   MPU60X0_ACCEL_RANGE_16G

Definition at line 41 of file imu_aspirin_2_spi.h.

◆ ASPIRIN_2_GYRO_RANGE

#define ASPIRIN_2_GYRO_RANGE   MPU60X0_GYRO_RANGE_2000

Definition at line 37 of file imu_aspirin_2_spi.h.

Function Documentation

◆ imu_aspirin2_event()

◆ imu_aspirin2_init()

◆ imu_aspirin2_periodic()

void imu_aspirin2_periodic ( void  )

Definition at line 153 of file imu_aspirin_2_spi.c.

References imu_aspirin2, ImuAspirin2Spi::mpu, and mpu60x0_spi_periodic().

+ Here is the call graph for this function:

Variable Documentation

◆ imu_aspirin2