Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
#include "dc.h"
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) |
#define ParseCameraCommand | ( | ) |
Definition at line 36 of file atmega_i2c_cam_ctrl.h.
void atmega_i2c_cam_ctrl_event | ( | void | ) |
Definition at line 94 of file atmega_i2c_cam_ctrl.c.
References atmega_i2c_cam_ctrl_trans, i2c_transaction::buf, DefaultChannel, DefaultDevice, I2CTransDone, I2CTransSuccess, and i2c_transaction::status.
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.
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().
void atmega_i2c_cam_ctrl_send | ( | uint8_t | cmd | ) |
Definition at line 81 of file atmega_i2c_cam_ctrl.c.
References atmega_i2c_cam_ctrl_just_sent_command, atmega_i2c_cam_ctrl_trans, ATMEGA_I2C_DEV, ATMEGA_SLAVE_ADDR, i2c_transaction::buf, DC_GET_STATUS, dc_send_shot_position(), DC_SHOOT, DC_TALLER, DC_WIDER, DefaultChannel, DefaultDevice, i2c_transceive(), and mode.
Referenced by atmega_i2c_cam_ctrl_periodic(), and dc_send_command().