<!DOCTYPE module SYSTEM "module.dtd">

<module name="enose" dir="enose">
  <doc>
    <description>Chemical Enose sensor</description>
  </doc>
  <header>
    <file name="enose.h"/>
    <file name="chemo_detect.h"/>
  </header>
  <settings>
    <dl_settings NAME="control">
      <dl_settings name="enose">
        <dl_setting MAX="5000" MIN="0" STEP="1" VAR="enose_val[0]" module="enose/enose" shortname="val0" handler="DecreaseVal0"/>
        <dl_setting MAX="5000" MIN="0" STEP="1" VAR="enose_val[1]" module="enose/enose" shortname="val1" handler="DecreaseVal1"/>
        <dl_setting MAX="5000" MIN="0" STEP="1" VAR="enose_val[2]" module="enose/enose" shortname="val2" handler="DecreaseVal2"/>
      </dl_settings>
    </dl_settings>
  </settings>
  <init fun="enose_init()"/>
  <init fun="chemo_init()"/>
  <periodic fun="enose_periodic()" freq="4." delay="4" autorun="TRUE"/>
  <periodic fun="chemo_periodic()" freq="4." delay="4" autorun="TRUE"/>
  <makefile target="ap">
    <file name="enose.c"/>
    <file name="chemo_detect.c"/>
  </makefile>
  <makefile target="sim">
    <!--file name="$(SRC_ARCH)/sim_enose.c"/-->
    <file_arch name="sim_enose.c"/>
    <file name="chemo_detect.c"/>
  </makefile>
</module>

