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_hmc5843.c File Reference
#include "mcu_periph/i2c.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
#include <math.h>
#include "../../peripherals/hmc5843.h"
+ Include dependency graph for mag_hmc5843.c:

Go to the source code of this file.

Functions

void hmc5843_module_init (void)
 
void hmc5843_module_periodic (void)
 
void hmc5843_module_event (void)
 

Variables

int32_t mag_x
 
int32_t mag_y
 
int32_t mag_z
 
bool mag_valid
 

Function Documentation

void hmc5843_module_event ( void  )

Definition at line 49 of file mag_hmc5843.c.

References hmc5843_idle_task().

+ Here is the call graph for this function:

void hmc5843_module_init ( void  )

Definition at line 35 of file mag_hmc5843.c.

References hmc5843_init().

+ Here is the call graph for this function:

void hmc5843_module_periodic ( void  )

Definition at line 40 of file mag_hmc5843.c.

References Hmc5843::data, DefaultChannel, DefaultDevice, hmc5843, hmc5843_periodic(), mag_x, mag_y, and mag_z.

+ Here is the call graph for this function:

Variable Documentation

bool mag_valid

Definition at line 30 of file mag_hmc5843.c.

int32_t mag_x

Definition at line 29 of file mag_hmc5843.c.

Referenced by hmc5843_module_periodic().

int32_t mag_y

Definition at line 29 of file mag_hmc5843.c.

Referenced by hmc5843_module_periodic().

int32_t mag_z

Definition at line 29 of file mag_hmc5843.c.

Referenced by hmc5843_module_periodic().