Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
#include "subsystems/imu.h"
#include "generated/airframe.h"
#include "subsystems/imu/imu_crista_arch.h"
Go to the source code of this file.
Macros | |
#define | ADS8344_NB_CHANNELS 8 |
#define | ImuEvent imu_christa_event |
Functions | |
void | imu_crista_arch_init (void) |
void | imu_christa_event (void) |
Variables | |
uint16_t | ADS8344_values [ADS8344_NB_CHANNELS] |
volatile bool_t | ADS8344_available |
#define ADS8344_NB_CHANNELS 8 |
Definition at line 28 of file imu_crista.h.
#define ImuEvent imu_christa_event |
Definition at line 39 of file imu_crista.h.
void imu_christa_event | ( | void | ) |
Definition at line 91 of file imu_crista.c.
References Imu::accel, Imu::accel_unscaled, ADS8344_available, ADS8344_values, FALSE, Imu::gyro, Imu::gyro_unscaled, imu, IMU_ACCEL_X_CHAN, IMU_ACCEL_Y_CHAN, IMU_ACCEL_Z_CHAN, IMU_CRISTA_ID, IMU_GYRO_P_CHAN, IMU_GYRO_Q_CHAN, IMU_GYRO_R_CHAN, imu_scale_accel(), imu_scale_gyro(), ImuMagEvent, Int32Rates::p, Int32Rates::q, Int32Rates::r, Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.
void imu_crista_arch_init | ( | void | ) |
Definition at line 58 of file imu_crista_arch.c.
References _VIC_ADDR, _VIC_CNTL, ADS8344_SS_IODIR, ADS8344_SS_PIN, ADS8344Unselect, channel, GPIOB, PINSEL1, SPI1_ISR(), SPI1_VIC_SLOT, SSP_CPHA, SSP_CPOL, SSP_DSS, SSP_FRF, SSP_LBM, SSP_MS, SSP_SCR, SSP_SOD, SSPCPSR, SSPCR0, SSPCR1, VIC_BIT, VIC_ENABLE, VIC_SPI1, VICIntEnable, and VICIntSelect.
Referenced by imu_impl_init().
volatile bool_t ADS8344_available |
Definition at line 38 of file ADS8344.c.
Referenced by ADS8344_init(), dma1_c4_irq_handler(), imu_christa_event(), imu_impl_init(), and SPI1_ISR().
uint16_t ADS8344_values[ADS8344_NB_CHANNELS] |
Definition at line 39 of file ADS8344.c.
Referenced by dma1_c4_irq_handler(), imu_christa_event(), and read_values().