Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
imu_apogee.h File Reference

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

#include "std.h"
#include "generated/airframe.h"
#include "modules/imu/imu.h"
#include "peripherals/mpu60x0_i2c.h"
Include dependency graph for imu_apogee.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ImuApogee

Macros

#define APOGEE_GYRO_RANGE   MPU60X0_GYRO_RANGE_1000
#define APOGEE_ACCEL_RANGE   MPU60X0_ACCEL_RANGE_8G

Functions

void imu_apogee_init (void)
void imu_apogee_periodic (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.h.


Data Structure Documentation

◆ ImuApogee

struct ImuApogee

Definition at line 50 of file imu_apogee.h.

Collaboration diagram for ImuApogee:
Data Fields
struct Mpu60x0_I2c mpu

Macro Definition Documentation

◆ APOGEE_ACCEL_RANGE

#define APOGEE_ACCEL_RANGE   MPU60X0_ACCEL_RANGE_8G

Definition at line 47 of file imu_apogee.h.

Referenced by imu_apogee_init().

◆ APOGEE_GYRO_RANGE

#define APOGEE_GYRO_RANGE   MPU60X0_GYRO_RANGE_1000

Definition at line 44 of file imu_apogee.h.

Referenced by imu_apogee_init().

Function Documentation

◆ imu_apogee_event()

void imu_apogee_event ( void )
extern

Definition at line 132 of file imu_apogee.c.

References ak8975_event(), get_sys_time_usec(), imu_apogee, IMU_APOGEE_CHAN_X, IMU_APOGEE_CHAN_Y, IMU_APOGEE_CHAN_Z, IMU_BOARD_ID, and mpu60x0_i2c_event().

Here is the call graph for this function:

◆ imu_apogee_init()

◆ imu_apogee_periodic()

void imu_apogee_periodic ( void )
extern

Definition at line 121 of file imu_apogee.c.

References ak8975_periodic(), imu_apogee, and mpu60x0_i2c_periodic().

Here is the call graph for this function:

Variable Documentation

◆ imu_apogee

struct ImuApogee imu_apogee
extern