mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
38 lines
1.1 KiB
XML
38 lines
1.1 KiB
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="atmega_i2c_cam_ctrl" dir="digital_cam">
|
|
<doc>
|
|
<description>
|
|
Trigger Digital Camera (I2C).
|
|
Using I2C connected remote microcontroller
|
|
</description>
|
|
<define name="DC_SHOOT_ON_BUTTON_RELEASE" />
|
|
<define name="DC_SHOT_SYNC_SEND" value="TRUE|FALSE" description="send DC_SHOT message when photo was taken (default: TRUE)"/>
|
|
</doc>
|
|
<conflicts>digital_cam,digital_cam_servo,digital_cam_uart,digital_cam_video</conflicts>
|
|
<header>
|
|
<file name="atmega_i2c_cam_ctrl.h"/>
|
|
<file name="dc.h"/>
|
|
</header>
|
|
|
|
<init fun="atmega_i2c_cam_ctrl_init()"/>
|
|
<periodic fun="atmega_i2c_cam_ctrl_periodic()" autorun="TRUE" freq="10"/>
|
|
<event fun="atmega_i2c_cam_ctrl_event()"/>
|
|
|
|
<datalink message="PAYLOAD_COMMAND" fun="ParseCameraCommand()"/>
|
|
|
|
<makefile target="ap">
|
|
<file name="atmega_i2c_cam_ctrl.c"/>
|
|
<file name="dc.c"/>
|
|
<define name="ATMEGA_I2C_DEV" value="i2c0"/>
|
|
<define name="USE_I2C0" value="1"/>
|
|
</makefile>
|
|
|
|
<makefile target="sim">
|
|
<file name="sim_i2c_cam_ctrl.c"/>
|
|
<file name="dc.c"/>
|
|
</makefile>
|
|
|
|
</module>
|
|
|