Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Baro ETS (I2C)

Module XML file: baro_ets.xml

No detailed description...

Module configuration options

Define Options

  • name: BARO_ETS_I2C_DEV value: i2cX
    Description: select i2c peripheral to use (default i2c0)
  • name: BARO_ETS_SCALE value: sensor scale factor
  • name: BARO_ETS_TELEMETRY value: None
    Description: flag to transmit the data as it is acquired

Module functions

Init Functions

These initialization functions are called once on startup.

Event Functions

These event functions are called in each cycle of the module event loop.

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.

  • baro_ets_read_periodic()
    • Frequency in Hz: 10.
    • Autorun: LOCK
      Periodic function automatically starts after init and can't be stopped.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw baro_ets.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="baro_ets" dir="sensors">
<doc>
<description>Baro ETS (I2C)</description>
<define name="BARO_ETS_I2C_DEV" value="i2cX" description="select i2c peripheral to use (default i2c0)"/>
<define name="BARO_ETS_SCALE" value="sensor scale factor"/>
<define name="BARO_ETS_TELEMETRY" description="flag to transmit the data as it is acquired"/>
</doc>
<header>
<file name="baro_ets.h"/>
</header>
<init fun="baro_ets_init()"/>
<periodic fun="baro_ets_read_periodic()" freq="10."/>
<event fun="BaroEtsEvent()"/>
<makefile>
<file name="baro_ets.c"/>
</makefile>
</module>