Paparazzi UAS
v7.0_unstable
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 93 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, I2CTransDone, and i2c_transaction::status.
void atmega_i2c_cam_ctrl_periodic | ( | void | ) |
Definition at line 67 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 80 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().