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
hmc5843 magnetometer

Module XML file: mag_hmc5843.xml

No detailed description...

Module functions

Init Functions

These initialization functions are called once on startup.

Event Functions

These event functions are called in each cycle of the module event loop.

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.

  • hmc5843_module_periodic()
    • Frequency in Hz: 60
    • Autorun: LOCK
      Periodic function automatically starts after init and can't be stopped.


Header Files

The following headers are automatically included in modules.h

Source Files

Raw mag_hmc5843.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="sensors">
<description>hmc5843 magnetometer</description>
<!-- <depend conflict="ins" -->
<file name="mag_hmc5843.h"/>
<init fun="hmc5843_module_init()"/>
<periodic fun="hmc5843_module_periodic()" freq="60"/>
<event fun="hmc5843_module_event()"/>
<define name="USE_I2C"/>
<file name="mag_hmc5843.c"/>
<file name="hmc5843.c" dir="peripherals"/>
<define name="HMC5843_I2C_DEV" value="i2c0"/>
<define name="USE_I2C0"/>
<define name="HMC5843_NO_IRQ"/>