Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
Simulated Interface with digital camera. More...
#include "atmega_i2c_cam_ctrl.h"
#include "mcu_periph/uart.h"
#include "messages.h"
#include "subsystems/datalink/downlink.h"
#include "state.h"
Go to the source code of this file.
Functions | |
void | atmega_i2c_cam_ctrl_init (void) |
void | atmega_i2c_cam_ctrl_periodic (void) |
void | atmega_i2c_cam_ctrl_send (uint8_t cmd) |
void | atmega_i2c_cam_ctrl_event (void) |
Simulated Interface with digital camera.
Definition in file sim_i2c_cam_ctrl.c.
void atmega_i2c_cam_ctrl_event | ( | void | ) |
Definition at line 78 of file sim_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 39 of file sim_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 44 of file sim_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 54 of file sim_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, and i2c_transceive().