Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
mag_lis3mdl.c File Reference
#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 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 34 of file mag_lis3mdl.c.

◆ LIS3MDL_CHAN_X_SIGN

#define LIS3MDL_CHAN_X_SIGN   +

Definition at line 43 of file mag_lis3mdl.c.

◆ LIS3MDL_CHAN_Y

#define LIS3MDL_CHAN_Y   1

Definition at line 37 of file mag_lis3mdl.c.

◆ LIS3MDL_CHAN_Y_SIGN

#define LIS3MDL_CHAN_Y_SIGN   +

Definition at line 46 of file mag_lis3mdl.c.

◆ LIS3MDL_CHAN_Z

#define LIS3MDL_CHAN_Z   2

Definition at line 40 of file mag_lis3mdl.c.

◆ LIS3MDL_CHAN_Z_SIGN

#define LIS3MDL_CHAN_Z_SIGN   +

Definition at line 49 of file mag_lis3mdl.c.

Function Documentation

◆ mag_lis3mdl_module_event()

◆ mag_lis3mdl_module_init()

void mag_lis3mdl_module_init ( void  )

◆ mag_lis3mdl_module_periodic()

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:

◆ mag_lis3mdl_report()

void mag_lis3mdl_report ( void  )

Variable Documentation

◆ mag_lis3mdl