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

Interface for the Aspirin v1.x IMU using SPI for the accelerometer. More...

#include "generated/airframe.h"
#include "modules/imu/imu.h"
#include "peripherals/itg3200.h"
#include "peripherals/hmc58xx.h"
#include "peripherals/adxl345_spi.h"
#include "modules/imu/imu_aspirin_arch.h"
+ Include dependency graph for imu_aspirin.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ImuAspirin
 

Functions

void imu_aspirin_init (void)
 
void imu_aspirin_periodic (void)
 
void imu_aspirin_event (void)
 
void imu_aspirin_arch_init (void)
 

Variables

struct ImuAspirin imu_aspirin
 

Detailed Description

Interface for the Aspirin v1.x IMU using SPI for the accelerometer.

Definition in file imu_aspirin.h.


Data Structure Documentation

◆ ImuAspirin

struct ImuAspirin

Definition at line 40 of file imu_aspirin.h.

+ Collaboration diagram for ImuAspirin:
Data Fields
struct Adxl345_Spi acc_adxl
struct Itg3200 gyro_itg
struct Hmc58xx mag_hmc

Function Documentation

◆ imu_aspirin_arch_init()

void imu_aspirin_arch_init ( void  )

Definition at line 51 of file imu_aspirin_arch.c.

References GPIO12, GPIO13, GPIO14, GPIO2, GPIOB, and GPIOC.

Referenced by imu_aspirin_init().

+ Here is the caller graph for this function:

◆ imu_aspirin_event()

◆ imu_aspirin_init()

◆ imu_aspirin_periodic()

void imu_aspirin_periodic ( void  )

Definition at line 126 of file imu_aspirin.c.

References ImuAspirin::acc_adxl, adxl345_spi_periodic(), ImuAspirin::gyro_itg, hmc58xx_periodic(), imu_aspirin, itg3200_periodic(), and ImuAspirin::mag_hmc.

+ Here is the call graph for this function:

Variable Documentation

◆ imu_aspirin

struct ImuAspirin imu_aspirin
extern

Definition at line 1 of file imu_aspirin.c.