Module XML file: gps_i2c.xml
(apparently currently broken)
Example for airframe file
2 <load name="gps_i2c.xml"/>
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.
- gps_i2c_periodic()
- Frequency in Hz: 4.
- Delay: 4
Integer to impose a sequence (between 0 and main_freq/function_freq)
- Autorun: TRUE
Periodic function automatically starts after init.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw gps_i2c.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="gps_i2c" dir="gps">
<doc>
<description>
U-blox GPS (I2C)
(apparently currently broken)
</description>
</doc>
<header>
<file name="gps_i2c.h"/>
</header>
<init fun="gps_i2c_init()"/>
<periodic fun="gps_i2c_periodic()" freq="4." delay="4" autorun="TRUE"/>
<event fun="gps_i2cEvent()"/>
<makefile target="ap">
<file name="gps_i2c.c"/>
<define name="GPS_CONFIGURE" />
</makefile>
</module>