Radio control over intermcu
No detailed description...
Example for airframe file
Add to your firmware section:
<module name="radio_control_intermcu"/>
Module functions
Init Functions
These initialization functions are called once on startup.
Datalink Functions
Whenever the specified datalink message is received, the corresponing handler function is called.
- on message IMCU_RADIO_COMMANDS call rc_intermcu_parse_msg(buf)
- on message IMCU_FBW_STATUS call rc_intermcu_parse_fbw_status(buf)
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw radio_control_intermcu.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="radio_control_intermcu" dir="radio_control" task="radio_control">
<doc>
<description>
Radio control over intermcu
</description>
</doc>
<dep>
<depends>radio_control_common</depends>
<provides>radio_control</provides>
</dep>
<header>
<file name="rc_intermcu.h"/>
</header>
<init fun="rc_intermcu_init()"/>
<datalink message="IMCU_RADIO_COMMANDS" fun="rc_intermcu_parse_msg(buf)" class="intermcu"/>
<datalink message="IMCU_FBW_STATUS" fun="rc_intermcu_parse_fbw_status(buf)" class="intermcu"/>
<makefile target="ap">
<define name="RADIO_CONTROL_TYPE_INTERMCU"/>
<file name="rc_intermcu.c"/>
<test>
<define name="RADIO_CONTROL"/>
<define name="RADIO_CONTROL_TYPE_INTERMCU"/>
</test>
</makefile>
</module>