Files
paparazzi/conf/modules/generic_com.xml
T
Gautier Hattenberger bcaba7c720 [modules documentation] Add a doc node to module
modules developpers can provide
- a description of the module
- a list of the configuration variables and flags (configure and define)
- a list of sections to add to the airframe file
2012-04-24 09:29:12 +02:00

25 lines
794 B
XML

<!DOCTYPE module SYSTEM "module.dtd">
<!-- Generic Com Module -->
<!-- Can be redefined :
GENERIC_COM_I2C_DEV (default: i2c0)
GENERIC_COM_SLAVE_ADDR (default: ??)
-->
<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>