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

Go to the source code of this file.

Macros

#define ImuMagEvent()   {}
 

Functions

void imu_impl_init (void)
 must be defined by underlying hardware More...
 
void imu_periodic (void)
 optional. More...
 
void imu_christa_event (void)
 

Variables

volatile bool_t ADS8344_available
 
uint16_t ADS8344_values [ADS8344_NB_CHANNELS]
 

Macro Definition Documentation

#define ImuMagEvent ( )    {}

Definition at line 88 of file imu_crista.c.

Referenced by imu_christa_event().

Function Documentation

void imu_impl_init ( void  )

must be defined by underlying hardware

must be defined by underlying hardware

Todo:
drdy int handling for adxl345
Todo:
eoc interrupt for itg3200, polling for now (including status reg)
Todo:
drdy int handling for adxl345
Todo:
eoc interrupt for itg3200, polling for now (including status reg)

Definition at line 28 of file imu_crista.c.

References ADS8344_available, ami601_init(), FALSE, hmc5843_init(), and imu_crista_arch_init().

+ Here is the call graph for this function:

void imu_periodic ( void  )

optional.

If not provided by implementation, empty function is used

optional.

Read the MPU60x0 every periodic call and the HMC58XX every 10th call.

Definition at line 44 of file imu_crista.c.

References ami601_read(), hmc5843_periodic(), and ImuCristaArchPeriodic.

+ Here is the call graph for this function:

Variable Documentation

volatile bool_t ADS8344_available

Definition at line 25 of file imu_crista.c.

Referenced by imu_christa_event(), and imu_impl_init().

uint16_t ADS8344_values[ADS8344_NB_CHANNELS]

Definition at line 26 of file imu_crista.c.

Referenced by imu_christa_event().