mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-02-06 02:52:42 +08:00
26 lines
884 B
XML
26 lines
884 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="xtend_rssi" dir="datalink">
|
|
<doc>
|
|
<description>
|
|
Digi Xtend RSSI PWM Module.
|
|
|
|
You must also load the module pwm_meas.xml
|
|
</description>
|
|
<configure name="XTEND_RSSI_PWM_INPUT_CHANNEL" value="input" description="select on which arch dep input the pwm line is connected"/>
|
|
</doc>
|
|
<dep>
|
|
<depends>pwm_meas</depends>
|
|
</dep>
|
|
<header>
|
|
<file name="xtend_rssi.h"/>
|
|
</header>
|
|
<periodic fun="xtend_rssi_periodic()" freq="0.5"/>
|
|
<makefile target="ap">
|
|
<file name="xtend_rssi.c"/>
|
|
<define name="XTEND_RSSI_PWM_INPUT_CHANNEL" value="$(XTEND_RSSI_PWM_INPUT_CHANNEL)"/> <!-- configure the pwm input to be used in airframe file -->
|
|
<define name="USE_PWM_INPUT$(XTEND_RSSI_PWM_INPUT_CHANNEL)" value="PWM_PULSE_TYPE_ACTIVE_HIGH"/> <!-- rssi signal is active high -->
|
|
</makefile>
|
|
</module>
|
|
|