Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures 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 "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_t mag_valid
 

Function Documentation

void hmc5843_module_event ( void  )

Definition at line 48 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 39 of file mag_hmc5843.c.

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

+ Here is the call graph for this function:

Variable Documentation

bool_t 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().