Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
imu_px4fmu_v2.4.c File Reference
#include "modules/imu/imu_px4fmu_v2.4.h"
#include "modules/imu/imu.h"
#include "modules/core/abi.h"
#include "mcu_periph/spi.h"
#include "generated/modules.h"
Include dependency graph for imu_px4fmu_v2.4.c:

Go to the source code of this file.

Functions

void imu_px4_init (void)
void imu_px4_periodic (void)
void imu_px4_event (void)

Variables

struct ImuPX4 imu_px4

Function Documentation

◆ imu_px4_event()

void imu_px4_event ( void )

Definition at line 74 of file imu_px4fmu_v2.4.c.

References FALSE, get_sys_time_usec(), imu_px4, IMU_PX4_ID, l3gd20_spi_event(), lsm303d_spi_event(), VECT3_ASSIGN, and VECT3_COPY.

Here is the call graph for this function:

◆ imu_px4_init()

void imu_px4_init ( void )

Definition at line 41 of file imu_px4fmu_v2.4.c.

References imu_px4, IMU_PX4_ID, imu_px4_init(), imu_set_defaults_accel(), imu_set_defaults_gyro(), L3GD20_SENS_2000, l3gd20_spi_init(), LSM303D_ACCEL_SENS_16G, lsm303d_spi_init(), LSM303D_TARGET_ACC, and LSM303D_TARGET_MAG.

Referenced by imu_px4_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ imu_px4_periodic()

void imu_px4_periodic ( void )

Definition at line 62 of file imu_px4fmu_v2.4.c.

References imu_px4, l3gd20_spi_periodic(), and lsm303d_spi_periodic().

Here is the call graph for this function:

Variable Documentation

◆ imu_px4

struct ImuPX4 imu_px4

Definition at line 39 of file imu_px4fmu_v2.4.c.

Referenced by imu_px4_event(), imu_px4_init(), and imu_px4_periodic().