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
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 "subsystems/datalink/downlink.h"
#include "generated/airframe.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

#define LIS3MDL_CHAN_X   0

Definition at line 34 of file mag_lis3mdl.c.

Referenced by mag_lis3mdl_module_event(), and mag_lis3mdl_report().

#define LIS3MDL_CHAN_X_SIGN   +

Definition at line 43 of file mag_lis3mdl.c.

Referenced by mag_lis3mdl_module_event(), and mag_lis3mdl_report().

#define LIS3MDL_CHAN_Y   1

Definition at line 37 of file mag_lis3mdl.c.

Referenced by mag_lis3mdl_module_event(), and mag_lis3mdl_report().

#define LIS3MDL_CHAN_Y_SIGN   +

Definition at line 46 of file mag_lis3mdl.c.

Referenced by mag_lis3mdl_module_event(), and mag_lis3mdl_report().

#define LIS3MDL_CHAN_Z   2

Definition at line 40 of file mag_lis3mdl.c.

Referenced by mag_lis3mdl_module_event(), and mag_lis3mdl_report().

#define LIS3MDL_CHAN_Z_SIGN   +

Definition at line 49 of file mag_lis3mdl.c.

Referenced by mag_lis3mdl_module_event(), and mag_lis3mdl_report().

Function Documentation

void mag_lis3mdl_module_init ( void  )
void mag_lis3mdl_module_periodic ( void  )

Definition at line 84 of file mag_lis3mdl.c.

References lis3mdl_periodic(), and mag_lis3mdl.

+ Here is the call graph for this function:

void mag_lis3mdl_report ( void  )

Variable Documentation