<!DOCTYPE module SYSTEM "module.dtd">

<module name="generic_com" dir="com">
  <doc>
    <description>
      Generic com.
      Can be used for Satcom/GSM
    </description>
    <define name="GENERIC_COM_I2C_DEV" value="i2cX" description="select i2c peripheral to use (default i2c0)"/>
    <define name="GENERIC_COM_SLAVE_ADDR" value="i2c address"/>
  </doc>
  <header>
    <file name="generic_com.h"/>
  </header>
  <init fun="generic_com_init()"/>
  <periodic fun="generic_com_periodic()" period="180" start="start_com()" stop="stop_com()" autorun="TRUE"/>
  <event fun="generic_com_event()"/>
  <makefile>
    <file name="generic_com.c"/>
  </makefile>
</module>

