Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros 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.


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


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  )

Definition at line 30 of file imu_nps.c.

References ImuNps::accel_available, adxl345_init(), FALSE, ImuNps::gyro_available, hmc58xx_init(), imu_nps, itg3200_init(), and ImuNps::mag_available.

+ Here is the call graph for this function:

void imu_periodic ( void  )

Definition at line 38 of file imu_nps.c.

References ami601_read(), Hmc58xxPeriodic, imu_overrun, IMU_SSP_STA_BUSY_MAX1168, IMU_SSP_STA_IDLE, imu_ssp_status, ImuSetSSP16bits, and max1168_read().

+ Here is the call graph for this function:

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().