Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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.

Macros

#define ParseCameraCommand()
 

Functions

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

◆ ParseCameraCommand

#define ParseCameraCommand ( )
Value:
{ \
{ \
if ( DL_PAYLOAD_COMMAND_command_length(buf) == 1){ \
dc_send_command(DL_PAYLOAD_COMMAND_command(buf)[0]); \
} \
} \
}

Definition at line 36 of file atmega_i2c_cam_ctrl.h.

Function Documentation

◆ atmega_i2c_cam_ctrl_event()

void atmega_i2c_cam_ctrl_event ( void  )

◆ atmega_i2c_cam_ctrl_init()

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:

◆ atmega_i2c_cam_ctrl_periodic()

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:

◆ atmega_i2c_cam_ctrl_send()

void atmega_i2c_cam_ctrl_send ( uint8_t  cmd)