Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_aspirin.h File Reference

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

#include "generated/airframe.h"
#include "subsystems/imu.h"
#include "peripherals/itg3200.h"
#include "peripherals/hmc58xx.h"
#include "peripherals/adxl345_spi.h"
#include "subsystems/imu/imu_aspirin_defaults.h"
#include "subsystems/imu/imu_aspirin_arch.h"
+ Include dependency graph for imu_aspirin.h:

Go to the source code of this file.

Data Structures

struct  ImuAspirin
 

Functions

void imu_aspirin_event (void)
 
void imu_aspirin_arch_init (void)
 
static void ImuEvent (void(*_gyro_handler)(void), void(*_accel_handler)(void), void(*_mag_handler)(void))
 

Variables

struct ImuAspirin imu_aspirin
 

Detailed Description

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

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

Definition in file imu_aspirin.h.

Function Documentation

void imu_aspirin_arch_init ( void  )

Definition at line 19 of file imu_aspirin_arch.c.

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

Referenced by imu_impl_init().

+ Here is the caller graph for this function:

static void ImuEvent ( void(*)(void)  _gyro_handler,
void(*)(void)  _accel_handler,
void(*)(void)  _mag_handler 
)
inlinestatic

Definition at line 63 of file imu_aspirin.h.

References ImuAspirin::accel_valid, FALSE, ImuAspirin::gyro_valid, imu_aspirin, imu_aspirin_event(), and ImuAspirin::mag_valid.

+ Here is the call graph for this function:

Variable Documentation

struct ImuAspirin imu_aspirin

Definition at line 66 of file imu_aspirin.c.

Referenced by ImuEvent().