<!DOCTYPE module SYSTEM "module.dtd">

<module name="sensors">
  <doc>
    <description>hmc5843 magnetometer</description>
  </doc>
  <header>
    <file name="mag_hmc5843.h"/>
  </header>
  <init fun="hmc5843_module_init()"/>
  <periodic fun="hmc5843_module_periodic()" freq="60"/>
  <event fun="hmc5843_module_event()"/>
  <makefile>
    <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"/>
  </makefile>
</module>
