Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_nps.c File Reference
#include "subsystems/imu.h"
#include "generated/airframe.h"
#include "nps_sensors.h"
+ Include dependency graph for imu_nps.c:

Go to the source code of this file.

Functions

void imu_impl_init (void)
 
void imu_periodic (void)
 
void imu_feed_gyro_accel (void)
 
void imu_feed_mag (void)
 

Variables

struct ImuNps imu_nps
 

Function Documentation

void imu_feed_gyro_accel ( void  )
void imu_feed_mag ( void  )

Definition at line 54 of file imu_nps.c.

References imu, imu_nps, ImuNps::mag_available, Imu::mag_unscaled, TRUE, VECT3_ASSIGN, and Int32Vect3::x.

void imu_impl_init ( void  )
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 30 of file imu_nps.c.

References ImuNps::accel_available, FALSE, ImuNps::gyro_available, imu_nps, and ImuNps::mag_available.

void imu_periodic ( void  )

Definition at line 38 of file imu_nps.c.

Variable Documentation

struct ImuNps imu_nps

Definition at line 28 of file imu_nps.c.

Referenced by imu_feed_gyro_accel(), imu_feed_mag(), and imu_impl_init().