|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Interface for the Aspirin v1.x IMU using I2C for the accelerometer. More...
#include "generated/airframe.h"#include "modules/imu/imu.h"#include "peripherals/itg3200.h"#include "peripherals/hmc58xx.h"#include "peripherals/adxl345_i2c.h"Go to the source code of this file.
Data Structures | |
| struct | ImuAspirinI2c |
Functions | |
| void | imu_aspirin_i2c_init (void) |
| void | imu_aspirin_i2c_periodic (void) |
| void | imu_aspirin_i2c_event (void) |
Variables | |
| struct ImuAspirinI2c | imu_aspirin |
Interface for the Aspirin v1.x IMU using I2C for the accelerometer.
Definition in file imu_aspirin_i2c.h.
| struct ImuAspirinI2c |
Definition at line 40 of file imu_aspirin_i2c.h.
| Data Fields | ||
|---|---|---|
| struct Adxl345_I2c | acc_adxl | |
| struct Itg3200 | gyro_itg | |
| struct Hmc58xx | mag_hmc | |
|
extern |
Definition at line 143 of file imu_aspirin_i2c.c.
References adxl345_i2c_event(), get_sys_time_usec(), hmc58xx_event(), imu_aspirin, IMU_ASPIRIN_ID, itg3200_event(), VECT3_COPY, Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.
|
extern |
Definition at line 85 of file imu_aspirin_i2c.c.
References ADXL345_ADDR, adxl345_i2c_init(), ASPIRIN_ACCEL_RATE, ASPIRIN_GYRO_LOWPASS, ASPIRIN_GYRO_SMPLRT_DIV, ASPIRIN_I2C_DEV, gpio_set(), gpio_setup_output(), HMC58XX_ADDR, hmc58xx_init(), HMC_TYPE_5843, imu_aspirin, imu_aspirin_i2c_init(), IMU_ASPIRIN_ID, imu_set_defaults_accel(), imu_set_defaults_gyro(), ITG3200_ADDR, and itg3200_init().
Referenced by imu_aspirin_i2c_init().
|
extern |
Definition at line 132 of file imu_aspirin_i2c.c.
References adxl345_i2c_periodic(), hmc58xx_periodic(), imu_aspirin, and itg3200_periodic().
|
extern |
Definition at line 68 of file imu_aspirin.c.
Referenced by imu_aspirin_event(), imu_aspirin_i2c_event(), imu_aspirin_i2c_init(), imu_aspirin_i2c_periodic(), imu_aspirin_init(), and imu_aspirin_periodic().