Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Module wrapper for ST LIS3MDL magnetometers. More...
#include "peripherals/lis3mdl.h"
Go to the source code of this file.
Functions | |
void | mag_lis3mdl_module_init (void) |
void | mag_lis3mdl_module_periodic (void) |
void | mag_lis3mdl_module_event (void) |
void | mag_lis3mdl_report (void) |
Variables | |
struct Lis3mdl | mag_lis3mdl |
Module wrapper for ST LIS3MDL magnetometers.
Definition in file mag_lis3mdl.h.
void mag_lis3mdl_module_event | ( | void | ) |
Definition at line 81 of file mag_lis3mdl.c.
References Lis3mdl::data, Lis3mdl::data_available, get_sys_time_usec(), LIS3MDL_CHAN_X, LIS3MDL_CHAN_X_SIGN, LIS3MDL_CHAN_Y, LIS3MDL_CHAN_Y_SIGN, LIS3MDL_CHAN_Z, LIS3MDL_CHAN_Z_SIGN, lis3mdl_event(), mag_lis3mdl, mag_lis3mdl_report(), and MAG_LIS3MDL_SENDER_ID.
void mag_lis3mdl_module_init | ( | void | ) |
Definition at line 55 of file mag_lis3mdl.c.
References ANGLE_BFP_OF_REAL, imu_set_defaults_mag(), int32_rmat_of_eulers, LIS3MDL_ADDR1, LIS3MDL_DATA_RATE_80_HZ, lis3mdl_init(), LIS3MDL_MODE_CONTINUOUS, LIS3MDL_PERFORMANCE_ULTRA_HIGH, LIS3MDL_SCALE_4_GAUSS, mag_lis3mdl, and MAG_LIS3MDL_SENDER_ID.
void mag_lis3mdl_module_periodic | ( | void | ) |
Definition at line 76 of file mag_lis3mdl.c.
References lis3mdl_periodic(), and mag_lis3mdl.
void mag_lis3mdl_report | ( | void | ) |
Definition at line 108 of file mag_lis3mdl.c.
References Lis3mdl::data, DefaultChannel, DefaultDevice, LIS3MDL_CHAN_X, LIS3MDL_CHAN_X_SIGN, LIS3MDL_CHAN_Y, LIS3MDL_CHAN_Y_SIGN, LIS3MDL_CHAN_Z, LIS3MDL_CHAN_Z_SIGN, mag_lis3mdl, MAG_LIS3MDL_SENDER_ID, Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.
Referenced by mag_lis3mdl_module_event().
|
extern |
Definition at line 1 of file mag_lis3mdl.c.
Referenced by mag_lis3mdl_module_event(), mag_lis3mdl_module_init(), mag_lis3mdl_module_periodic(), and mag_lis3mdl_report().