|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Interface for the Aspirin v1.x IMU using SPI for the accelerometer. More...
#include "generated/airframe.h"#include "modules/imu/imu.h"#include "peripherals/itg3200.h"#include "peripherals/hmc58xx.h"#include "peripherals/adxl345_spi.h"#include "modules/imu/imu_aspirin_arch.h"
Include dependency graph for imu_aspirin.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | ImuAspirin |
Functions | |
| void | imu_aspirin_init (void) |
| void | imu_aspirin_periodic (void) |
| void | imu_aspirin_event (void) |
| void | imu_aspirin_arch_init (void) |
Variables | |
| struct ImuAspirin | imu_aspirin |
Interface for the Aspirin v1.x IMU using SPI for the accelerometer.
Definition in file imu_aspirin.h.
| struct ImuAspirin |
Definition at line 40 of file imu_aspirin.h.
Collaboration diagram for ImuAspirin:| Data Fields | ||
|---|---|---|
| struct Adxl345_Spi | acc_adxl | |
| struct Itg3200 | gyro_itg | |
| struct Hmc58xx | mag_hmc | |
Definition at line 51 of file imu_aspirin_arch.c.
References foo, GPIO12, GPIO13, GPIO14, GPIO2, GPIOB, and GPIOC.
Referenced by imu_aspirin_init().
Here is the caller graph for this function:Definition at line 128 of file imu_aspirin.c.
References ImuAspirin::acc_adxl, adxl345_spi_event(), Adxl345_Spi::data, Hmc58xx::data, Itg3200::data, Adxl345_Spi::data_available, Hmc58xx::data_available, Itg3200::data_available, foo, get_sys_time_usec(), ImuAspirin::gyro_itg, hmc58xx_event(), imu_aspirin, IMU_ASPIRIN_ID, itg3200_event(), ImuAspirin::mag_hmc, VECT3_COPY, Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.
Here is the call graph for this function:Definition at line 70 of file imu_aspirin.c.
References ImuAspirin::acc_adxl, accel_scale_f, adxl345_spi_init(), ASPIRIN_ACCEL_RATE, ASPIRIN_GYRO_LOWPASS, ASPIRIN_GYRO_SMPLRT_DIV, ASPIRIN_I2C_DEV, ASPIRIN_SPI_DEV, ASPIRIN_SPI_SLAVE_IDX, Adxl345_Spi::config, Itg3200::config, Itg3200Config::dlpf_cfg, foo, ImuAspirin::gyro_itg, gyro_scale_f, HMC58XX_ADDR, hmc58xx_init(), HMC_TYPE_5843, imu_aspirin, imu_aspirin_arch_init(), IMU_ASPIRIN_ID, imu_set_defaults_accel(), imu_set_defaults_gyro(), ITG3200_ADDR, itg3200_init(), ImuAspirin::mag_hmc, Adxl345Config::rate, Itg3200Config::smplrt_div, and Hmc58xx::type.
Here is the call graph for this function:Definition at line 117 of file imu_aspirin.c.
References ImuAspirin::acc_adxl, adxl345_spi_periodic(), foo, ImuAspirin::gyro_itg, hmc58xx_periodic(), imu_aspirin, itg3200_periodic(), and ImuAspirin::mag_hmc.
Here is the call graph for this function:
|
extern |
Definition at line 68 of file imu_aspirin.c.