Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_apogee.c File Reference

Driver for the IMU on the Apogee board. More...

#include <math.h>
#include "boards/apogee/imu_apogee.h"
#include "mcu_periph/i2c.h"
#include "led.h"
#include "subsystems/abi.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for imu_apogee.c:

Go to the source code of this file.

Macros

#define IMU_APOGEE_CHAN_X   0
 
#define IMU_APOGEE_CHAN_Y   1
 
#define IMU_APOGEE_CHAN_Z   2
 
#define APOGEE_LOWPASS_FILTER   MPU60X0_DLPF_42HZ
 
#define APOGEE_SMPLRT_DIV   9
 

Functions

bool configure_baro_slave (Mpu60x0ConfigSet mpu_set, void *mpu)
 
void imu_apogee_init (void)
 
void imu_apogee_periodic (void)
 
void imu_apogee_downlink_raw (void)
 
void imu_apogee_event (void)
 

Variables

struct ImuApogee imu_apogee
 

Detailed Description

Driver for the IMU on the Apogee board.

Invensense MPU-6050

Definition in file imu_apogee.c.

Macro Definition Documentation

#define APOGEE_LOWPASS_FILTER   MPU60X0_DLPF_42HZ

Definition at line 52 of file imu_apogee.c.

Referenced by imu_apogee_init().

#define APOGEE_SMPLRT_DIV   9

Definition at line 53 of file imu_apogee.c.

Referenced by imu_apogee_init().

#define IMU_APOGEE_CHAN_X   0

Definition at line 42 of file imu_apogee.c.

Referenced by imu_apogee_event().

#define IMU_APOGEE_CHAN_Y   1

Definition at line 45 of file imu_apogee.c.

Referenced by imu_apogee_event().

#define IMU_APOGEE_CHAN_Z   2

Definition at line 48 of file imu_apogee.c.

Referenced by imu_apogee_event().

Function Documentation

bool configure_baro_slave ( Mpu60x0ConfigSet  mpu_set,
void *  mpu 
)

Definition at line 89 of file imu_apogee.c.

Referenced by imu_apogee_init().

+ Here is the caller graph for this function:

void imu_apogee_downlink_raw ( void  )
void imu_apogee_periodic ( void  )

Definition at line 116 of file imu_apogee.c.

References ak8975_periodic(), imu_apogee, ImuApogee::mpu, and mpu60x0_i2c_periodic().

+ Here is the call graph for this function:

Variable Documentation

struct ImuApogee imu_apogee

Definition at line 85 of file imu_apogee.c.

Referenced by baro_periodic(), imu_apogee_event(), imu_apogee_init(), and imu_apogee_periodic().