Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 "subsystems/imu.h"
#include "subsystems/imu/imu_mpu60x0_defaults.h"
#include "peripherals/mpu60x0_spi.h"
+ Include dependency graph for imu_aspirin_2_spi.h:

Go to the source code of this file.

Data Structures

struct  ImuAspirin2Spi


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


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

struct ImuAspirin2Spi

Definition at line 38 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]

Function Documentation

void imu_aspirin2_periodic ( void  )

Definition at line 154 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