Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
MS5534a barometer (SPI)

Module XML file: baro_MS5534A.xml

No detailed description...

Example for airframe file

1 <modules>
2  <load name="baro_MS5534A.xml"/>
3 </modules>

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_MS5534A_send()
    • Frequency in Hz: 20
    • Autorun: LOCK
      Periodic function automatically starts after init and can't be stopped.


Header Files

The following headers are automatically included in modules.h

Source Files

Raw baro_MS5534A.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="baro_MS5534A" dir="sensors">
<description>MS5534a barometer (SPI)</description>
<file name="baro_MS5534A.h"/>
<init fun="baro_MS5534A_init()"/>
<periodic fun="baro_MS5534A_send()" freq="20"/>
<event fun="baro_MS5534A_event()"/>
<makefile target="ap">
<file name="baro_MS5534A.c"/>
<define name="USE_BARO_MS5534A"/>
<define name="USE_SPI_SLAVE0"/>
<define name="SPI_MASTER"/>
<configure name="BARO_MS5534A_W1" value="0xAC20"/>
<configure name="BARO_MS5534A_W2" value="0x87D9"/>
<configure name="BARO_MS5534A_W3" value="0x8D9C"/>
<configure name="BARO_MS5534A_W4" value="0xB080"/>