<!DOCTYPE module SYSTEM "module.dtd">

<module name="airspeed_amsys" dir="sensors">
  <doc>
    <description>
      Airspeed AMSYS (I2C)
      Driver for a Amsys Differential Presure Sensor I2C
      (AMS 5812-0003-D)
    </description>
    <define name="AIRSPEED_AMSYS_I2C_DEV" value="i2c0" description="change default i2c peripheral"/>
    <define name="AIRSPEED_AMSYS_OFFSET" value="0" description="sensor offset (default: 0)"/>
    <define name="AIRSPEED_AMSYS_SCALE" value="1.0" description="sensor scale factor (default: 1.0)"/>
    <define name="USE_AIRSPEED" description="flag to use the data for airspeed control"/>
    <define name="SENSOR_SYNC_SEND" description="flag to transmit the data as it is acquired"/>
  </doc>

  <header>
    <file name="airspeed_amsys.h"/>
  </header>
  <init fun="airspeed_amsys_init()"/>
  <periodic fun="airspeed_amsys_read_periodic()" freq="10."/>
  <event fun="AirspeedAmsysEvent()"/>

  <makefile>
    <file name="airspeed_amsys.c"/>
  </makefile>

</module>
