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

◆ IMU_PPZUAV_ACCEL_RATE

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

◆ IMU_PPZUAV_GYRO_LOWPASS

#define IMU_PPZUAV_GYRO_LOWPASS   ITG3200_DLPF_20HZ

gyro internal lowpass frequency

Definition at line 56 of file imu_ppzuav.c.

◆ IMU_PPZUAV_GYRO_SMPLRT_DIV

#define IMU_PPZUAV_GYRO_SMPLRT_DIV   19

gyro sample rate divider

Definition at line 69 of file imu_ppzuav.c.

◆ IMU_PPZUAV_I2C_DEV

#define IMU_PPZUAV_I2C_DEV   i2c0

Definition at line 37 of file imu_ppzuav.c.

Function Documentation

◆ imu_ppzuav_event()

◆ imu_ppzuav_init()

◆ imu_ppzuav_periodic()

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

◆ imu_ppzuav

struct ImuPpzuav imu_ppzuav

Definition at line 79 of file imu_ppzuav.c.

Referenced by imu_ppzuav_event(), imu_ppzuav_init(), and imu_ppzuav_periodic().