mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
25 lines
914 B
XML
25 lines
914 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="baro_mpl3115" dir="sensors">
|
|
<doc>
|
|
<description>Baro MPL3115A2 (I2C)</description>
|
|
<define name="BARO_MPL3115_I2C_DEV" value="i2cX" description="select which i2c peripheral to use (default i2c0)"/>
|
|
<define name="BARO_MPL3115_I2C_SLAVE_ADDR" value="0xC0" description="i2c address (default factory: 0xC0)"/>
|
|
<define name="BARO_MPL3115_SENDER_ID" value="20" description="ABI sender id"/>
|
|
<define name="SENSOR_SYNC_SEND" description="flag to enable sending BARO_MPL3115 message on every new measurement"/>
|
|
</doc>
|
|
|
|
<header>
|
|
<file name="baro_mpl3115.h"/>
|
|
</header>
|
|
<init fun="baro_mpl3115_init()"/>
|
|
<periodic fun="baro_mpl3115_read_periodic()" freq="5."/>
|
|
<event fun="baro_mpl3115_read_event()"/>
|
|
|
|
<makefile target="ap">
|
|
<file name="baro_mpl3115.c"/>
|
|
<file name="mpl3115.c" dir="peripherals"/>
|
|
</makefile>
|
|
|
|
</module>
|