Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
mag_lis3mdl.c File Reference

Module wrapper for ST LIS3MDL magnetometers. More...

#include "modules/sensors/mag_lis3mdl.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "modules/datalink/downlink.h"
#include "generated/airframe.h"
#include "modules/core/abi.h"
+ Include dependency graph for mag_lis3mdl.c:

Go to the source code of this file.

Macros

#define LIS3MDL_CHAN_X   0
 
#define LIS3MDL_CHAN_Y   1
 
#define LIS3MDL_CHAN_Z   2
 
#define LIS3MDL_CHAN_X_SIGN   +
 
#define LIS3MDL_CHAN_Y_SIGN   +
 
#define LIS3MDL_CHAN_Z_SIGN   +
 

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
 

Detailed Description

Module wrapper for ST LIS3MDL magnetometers.

Definition in file mag_lis3mdl.c.

Macro Definition Documentation

◆ LIS3MDL_CHAN_X

#define LIS3MDL_CHAN_X   0

Definition at line 35 of file mag_lis3mdl.c.

◆ LIS3MDL_CHAN_X_SIGN

#define LIS3MDL_CHAN_X_SIGN   +

Definition at line 44 of file mag_lis3mdl.c.

◆ LIS3MDL_CHAN_Y

#define LIS3MDL_CHAN_Y   1

Definition at line 38 of file mag_lis3mdl.c.

◆ LIS3MDL_CHAN_Y_SIGN

#define LIS3MDL_CHAN_Y_SIGN   +

Definition at line 47 of file mag_lis3mdl.c.

◆ LIS3MDL_CHAN_Z

#define LIS3MDL_CHAN_Z   2

Definition at line 41 of file mag_lis3mdl.c.

◆ LIS3MDL_CHAN_Z_SIGN

#define LIS3MDL_CHAN_Z_SIGN   +

Definition at line 50 of file mag_lis3mdl.c.

Function Documentation

◆ mag_lis3mdl_module_event()

◆ mag_lis3mdl_module_init()

◆ mag_lis3mdl_module_periodic()

void mag_lis3mdl_module_periodic ( void  )

Definition at line 76 of file mag_lis3mdl.c.

References lis3mdl_periodic(), and mag_lis3mdl.

+ Here is the call graph for this function:

◆ mag_lis3mdl_report()

void mag_lis3mdl_report ( void  )

Variable Documentation

◆ mag_lis3mdl