Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_aspirin_i2c.c File Reference
#include "subsystems/imu.h"
#include "mcu_periph/i2c.h"
#include "mcu_periph/gpio.h"
+ Include dependency graph for imu_aspirin_i2c.c:

Go to the source code of this file.

Macros

#define ASPIRIN_I2C_DEV   i2c2
 
#define ASPIRIN_ACCEL_RATE   ADXL345_RATE_50HZ
 adxl345 accelerometer output rate, lowpass is set to half of rate More...
 
#define ASPIRIN_GYRO_LOWPASS   ITG3200_DLPF_20HZ
 gyro internal lowpass frequency More...
 
#define ASPIRIN_GYRO_SMPLRT_DIV   19
 gyro sample rate divider More...
 

Functions

void imu_impl_init (void)
 
void imu_periodic (void)
 
void imu_aspirin_i2c_event (void)
 

Variables

struct ImuAspirinI2c imu_aspirin
 

Macro Definition Documentation

#define ASPIRIN_ACCEL_RATE   ADXL345_RATE_50HZ

adxl345 accelerometer output rate, lowpass is set to half of rate

Definition at line 45 of file imu_aspirin_i2c.c.

Referenced by imu_impl_init().

#define ASPIRIN_GYRO_LOWPASS   ITG3200_DLPF_20HZ

gyro internal lowpass frequency

Definition at line 58 of file imu_aspirin_i2c.c.

Referenced by imu_impl_init().

#define ASPIRIN_GYRO_SMPLRT_DIV   19

gyro sample rate divider

Definition at line 71 of file imu_aspirin_i2c.c.

Referenced by imu_impl_init().

#define ASPIRIN_I2C_DEV   i2c2

Definition at line 38 of file imu_aspirin_i2c.c.

Referenced by imu_impl_init().

Function Documentation

void imu_periodic ( void  )

Variable Documentation

struct ImuAspirinI2c imu_aspirin

Definition at line 81 of file imu_aspirin_i2c.c.

Referenced by imu_aspirin_i2c_event(), imu_periodic(), and ImuEvent().