Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ ASPIRIN_ACCEL_RATE

#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.

◆ ASPIRIN_GYRO_LOWPASS

#define ASPIRIN_GYRO_LOWPASS   ITG3200_DLPF_20HZ

gyro internal lowpass frequency

Definition at line 58 of file imu_aspirin_i2c.c.

◆ ASPIRIN_GYRO_SMPLRT_DIV

#define ASPIRIN_GYRO_SMPLRT_DIV   19

gyro sample rate divider

Definition at line 71 of file imu_aspirin_i2c.c.

◆ ASPIRIN_I2C_DEV

#define ASPIRIN_I2C_DEV   i2c2

Definition at line 38 of file imu_aspirin_i2c.c.

Function Documentation

◆ imu_aspirin_i2c_event()

◆ imu_aspirin_i2c_init()

◆ imu_aspirin_i2c_periodic()

void imu_aspirin_i2c_periodic ( void  )

Variable Documentation

◆ imu_aspirin

struct ImuAspirinI2c imu_aspirin