Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
imu_umarim.c File Reference
#include <math.h>
#include "imu_umarim.h"
#include "mcu_periph/i2c.h"
#include "led.h"
#include "mcu_periph/uart.h"
#include "messages.h"
#include "subsystems/datalink/downlink.h"
#include "peripherals/itg3200.extra.h"
#include "peripherals/adxl345.extra_i2c.h"
+ Include dependency graph for imu_umarim.c:

Go to the source code of this file.

Macros

#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE
 

Functions

void imu_impl_init (void)
 
void imu_periodic (void)
 
void imu_umarim_downlink_raw (void)
 
void imu_umarim_event (void)
 

Variables

volatile bool_t gyr_valid
 
volatile bool_t acc_valid
 

Macro Definition Documentation

#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE

Definition at line 35 of file imu_umarim.c.

Function Documentation

void imu_impl_init ( void  )

Definition at line 57 of file imu_umarim.c.

References adxl345_init(), and itg3200_init().

+ Here is the call graph for this function:

void imu_periodic ( void  )

Definition at line 69 of file imu_umarim.c.

References Adxl345Periodic, and Itg3200Periodic.

void imu_umarim_downlink_raw ( void  )

Variable Documentation

volatile bool_t acc_valid

Definition at line 55 of file imu_umarim.c.

Referenced by imu_umarim_event().

volatile bool_t gyr_valid

Definition at line 54 of file imu_umarim.c.

Referenced by imu_umarim_event().