Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
mag_hmc58xx.c File Reference

Module wrapper for Honeywell HMC5843 and HMC5883 magnetometers. More...

#include "modules/sensors/mag_hmc58xx.h"
#include "mcu_periph/uart.h"
#include "messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for mag_hmc58xx.c:

Go to the source code of this file.

Functions

void mag_hmc58xx_module_init (void)
 
void mag_hmc58xx_module_periodic (void)
 
void mag_hmc58xx_module_event (void)
 
void mag_hmc58xx_report (void)
 

Variables

struct Hmc58xx mag_hmc58xx
 

Detailed Description

Module wrapper for Honeywell HMC5843 and HMC5883 magnetometers.

Definition in file mag_hmc58xx.c.

Function Documentation

void mag_hmc58xx_module_event ( void  )
void mag_hmc58xx_module_init ( void  )

Definition at line 51 of file mag_hmc58xx.c.

References HMC58XX_ADDR, hmc58xx_init(), and mag_hmc58xx.

+ Here is the call graph for this function:

void mag_hmc58xx_module_periodic ( void  )

Definition at line 56 of file mag_hmc58xx.c.

References hmc58xx_periodic(), and mag_hmc58xx.

+ Here is the call graph for this function:

void mag_hmc58xx_report ( void  )

Definition at line 92 of file mag_hmc58xx.c.

References Hmc58xx::data, DefaultChannel, DefaultDevice, mag_hmc58xx, Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.

Referenced by mag_hmc58xx_module_event().

+ Here is the caller graph for this function:

Variable Documentation