Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
atmega_i2c_cam_ctrl.h File Reference
#include "dc.h"
+ Include dependency graph for atmega_i2c_cam_ctrl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define ParseCameraCommand()


void atmega_i2c_cam_ctrl_init (void)
void atmega_i2c_cam_ctrl_periodic (void)
void atmega_i2c_cam_ctrl_event (void)
void atmega_i2c_cam_ctrl_send (uint8_t cmd)

Macro Definition Documentation

#define ParseCameraCommand ( )
{ \
{ \
if ( DL_PAYLOAD_COMMAND_command_length(dl_buffer) == 1){ \
dc_send_command(DL_PAYLOAD_COMMAND_command(dl_buffer)[0]); \
} \
} \
void dc_send_command(uint8_t cmd)
Send Command To Camera.
uint8_t dl_buffer[MSG_SIZE]
Definition: main_demo5.c:64

Definition at line 36 of file atmega_i2c_cam_ctrl.h.

Function Documentation

void atmega_i2c_cam_ctrl_event ( void  )
void atmega_i2c_cam_ctrl_init ( void  )

Definition at line 59 of file atmega_i2c_cam_ctrl.c.

References atmega_i2c_cam_ctrl_trans, dc_init(), I2CTransDone, and i2c_transaction::status.

+ Here is the call graph for this function:

void atmega_i2c_cam_ctrl_periodic ( void  )

Definition at line 65 of file atmega_i2c_cam_ctrl.c.

References atmega_i2c_cam_ctrl_just_sent_command, atmega_i2c_cam_ctrl_send(), DC_GET_STATUS, dc_periodic(), and dc_send_command().

+ Here is the call graph for this function:

void atmega_i2c_cam_ctrl_send ( uint8_t  cmd)