Paparazzi UAS  v5.15_devel-230-gc96ce27
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(buf) == 1){ \
dc_send_command(DL_PAYLOAD_COMMAND_command(buf)[0]); \
} \
} \
void dc_send_command(uint8_t cmd)
Send Command To Camera.

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 62 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 68 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)