Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_aspirin_i2c.c File Reference
#include "subsystems/imu.h"
#include "subsystems/abi.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_aspirin_i2c_init (void)
 
void imu_aspirin_i2c_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_aspirin_i2c_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_aspirin_i2c_init().

#define ASPIRIN_GYRO_SMPLRT_DIV   19

gyro sample rate divider

Definition at line 71 of file imu_aspirin_i2c.c.

Referenced by imu_aspirin_i2c_init().

#define ASPIRIN_I2C_DEV   i2c2

Definition at line 38 of file imu_aspirin_i2c.c.

Referenced by imu_aspirin_i2c_init().

Function Documentation

void imu_aspirin_i2c_periodic ( void  )

Variable Documentation

struct ImuAspirinI2c imu_aspirin

Definition at line 81 of file imu_aspirin_i2c.c.

Referenced by imu_aspirin_i2c_event(), and imu_aspirin_i2c_periodic().