Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
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"
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 |
Module wrapper for Honeywell HMC5843 and HMC5883 magnetometers.
Definition in file mag_hmc58xx.c.
void mag_hmc58xx_module_event | ( | void | ) |
Definition at line 61 of file mag_hmc58xx.c.
References Hmc58xx::data, Hmc58xx::data_available, FALSE, get_sys_time_usec(), hmc58xx_event(), imu, imu_scale_mag(), Imu::mag, mag_hmc58xx, mag_hmc58xx_report(), MAG_HMC58XX_SENDER_ID, Imu::mag_unscaled, and VECT3_COPY.
void mag_hmc58xx_module_init | ( | void | ) |
Definition at line 51 of file mag_hmc58xx.c.
References HMC58XX_ADDR, hmc58xx_init(), and mag_hmc58xx.
void mag_hmc58xx_module_periodic | ( | void | ) |
Definition at line 56 of file mag_hmc58xx.c.
References hmc58xx_periodic(), and mag_hmc58xx.
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().
struct Hmc58xx mag_hmc58xx |
Definition at line 49 of file mag_hmc58xx.c.
Referenced by mag_hmc58xx_module_event(), mag_hmc58xx_module_init(), mag_hmc58xx_module_periodic(), and mag_hmc58xx_report().