-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
digital_cam_i2c.xml
37 lines (30 loc) · 1.09 KB
/
digital_cam_i2c.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!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</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="4"/>
<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>