Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Module wrapper for QNI QMC5883L magnetometer. More...
#include "peripherals/qmc5883l.h"
Go to the source code of this file.
Functions | |
void | mag_qmc5883l_module_init (void) |
void | mag_qmc5883l_module_periodic (void) |
void | mag_qmc5883l_module_event (void) |
void | mag_qmc5883l_report (void) |
Variables | |
struct Qmc5883l | mag_qmc5883l |
Module wrapper for QNI QMC5883L magnetometer.
Definition in file mag_qmc5883l.h.
void mag_qmc5883l_module_event | ( | void | ) |
Definition at line 92 of file mag_qmc5883l.c.
References Qmc5883l::data, Qmc5883l::data_available, get_sys_time_usec(), int32_rmat_vmult(), mag_qmc5883l, mag_qmc5883l_report(), MAG_QMC5883L_SENDER_ID, QMC5883L_CHAN_X, QMC5883L_CHAN_X_SIGN, QMC5883L_CHAN_Y, QMC5883L_CHAN_Y_SIGN, QMC5883L_CHAN_Z, QMC5883L_CHAN_Z_SIGN, qmc5883l_event(), and VECT3_COPY.
void mag_qmc5883l_module_init | ( | void | ) |
Definition at line 73 of file mag_qmc5883l.c.
References ANGLE_BFP_OF_REAL, int32_rmat_of_eulers, mag_qmc5883l, QMC5883L_ADDR, QMC5883L_DATA_RATE, and qmc5883l_init().
void mag_qmc5883l_module_periodic | ( | void | ) |
Definition at line 87 of file mag_qmc5883l.c.
References mag_qmc5883l, and qmc5883l_periodic().
void mag_qmc5883l_report | ( | void | ) |
Definition at line 127 of file mag_qmc5883l.c.
References Qmc5883l::data, DefaultChannel, DefaultDevice, mag_qmc5883l, MAG_QMC5883L_SENDER_ID, QMC5883L_CHAN_X, QMC5883L_CHAN_X_SIGN, QMC5883L_CHAN_Y, QMC5883L_CHAN_Y_SIGN, QMC5883L_CHAN_Z, QMC5883L_CHAN_Z_SIGN, Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.
Referenced by mag_qmc5883l_module_event().
|
extern |
Definition at line 1 of file mag_qmc5883l.c.
Referenced by mag_qmc5883l_module_event(), mag_qmc5883l_module_init(), mag_qmc5883l_module_periodic(), and mag_qmc5883l_report().