Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_ppzuav.c File Reference
#include "subsystems/imu.h"
#include "subsystems/abi.h"
#include "mcu_periph/i2c.h"
+ Include dependency graph for imu_ppzuav.c:

Go to the source code of this file.

Macros

#define IMU_PPZUAV_I2C_DEV   i2c0
 
#define IMU_PPZUAV_ACCEL_RATE   ADXL345_RATE_50HZ
 adxl345 accelerometer output rate, lowpass is set to half of rate More...
 
#define IMU_PPZUAV_GYRO_LOWPASS   ITG3200_DLPF_20HZ
 gyro internal lowpass frequency More...
 
#define IMU_PPZUAV_GYRO_SMPLRT_DIV   19
 gyro sample rate divider More...
 

Functions

void imu_ppzuav_init (void)
 
void imu_ppzuav_periodic (void)
 
void imu_ppzuav_event (void)
 

Variables

struct ImuPpzuav imu_ppzuav
 

Macro Definition Documentation

#define IMU_PPZUAV_ACCEL_RATE   ADXL345_RATE_50HZ

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

Definition at line 43 of file imu_ppzuav.c.

Referenced by imu_ppzuav_init().

#define IMU_PPZUAV_GYRO_LOWPASS   ITG3200_DLPF_20HZ

gyro internal lowpass frequency

Definition at line 56 of file imu_ppzuav.c.

Referenced by imu_ppzuav_init().

#define IMU_PPZUAV_GYRO_SMPLRT_DIV   19

gyro sample rate divider

Definition at line 69 of file imu_ppzuav.c.

Referenced by imu_ppzuav_init().

#define IMU_PPZUAV_I2C_DEV   i2c0

Definition at line 37 of file imu_ppzuav.c.

Referenced by imu_ppzuav_init().

Function Documentation

void imu_ppzuav_periodic ( void  )

Definition at line 101 of file imu_ppzuav.c.

References ImuPpzuav::acc_adxl, adxl345_i2c_periodic(), ImuPpzuav::gyro_itg, hmc58xx_periodic(), imu_ppzuav, itg3200_periodic(), and ImuPpzuav::mag_hmc.

+ Here is the call graph for this function:

Variable Documentation

struct ImuPpzuav imu_ppzuav

Definition at line 79 of file imu_ppzuav.c.

Referenced by imu_ppzuav_event(), and imu_ppzuav_periodic().