Max11040 ADC
No detailed description...
Example for airframe file
Add to your firmware section:
<module name="max11040"/>
Module functions
Init Functions
These initialization functions are called once on startup.
Periodic Functions
These functions are called periodically at the specified frequency from the module periodic loop.
- max11040_periodic()
- Frequency in Hz: 4
- 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 max11040.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="max11040" dir="adcs">
<doc>
<description>Max11040 ADC</description>
</doc>
<header>
<file name="max11040.h"/>
</header>
<init fun="max11040_init()"/>
<periodic fun="max11040_periodic()" freq="4"/>
<makefile>
<file_arch name="max11040_hw.c"/>
<file name="max11040.c"/>
</makefile>
</module>