pdv_initcam.c File Reference


Detailed Description

Functions to initialize the device driver, EDT digital video board, and camera device.

(C) 1997-2007 Engineering Design Team, Inc.

Definition in file pdv_initcam.c.

#include "edtinc.h"

Go to the source code of this file.

Defines

#define BITLOAD   "./bitload"
#define DEBUG1   PDVLIB_MSG_INFO_1
#define DEBUG2   PDVLIB_MSG_INFO_2
#define INITCAM_MSG_ALWAYS   EDT_MSG_FATAL

Functions

int async_bitfile (EdtDev *edt_p)
u_char atoxdigit (char ch)
void check_camera_values (EdtDev *ed, Dependent *dd_p)
int check_register_wrap (EdtDev *edt_p)
int check_roi (EdtDev *edt_p, Dependent *dd_p)
void check_terminator (char *str)
void dep_wait (EdtDev *edt_p)
void dir_from_path (char *dirstr, char *pathstr)
void do_xregwrites (EdtDev *edt_p, Dependent *dd_p)
int findid (char *str, char *idstr)
void fname_from_path (char *fname, char *pathstr)
int get_prom_addrs (char *str, u_int *addr1, int *size1, u_int *addr2, int *size2)
char * grepit (char *buf, char *pat)
int is_hex_byte_command (char *str)
int kodak_query_serial (EdtDev *edt_p, char *cmd, int *val)
Dependentpdv_alloc_dependent ()
 Allocates a dependent structure, for use by pdv_readcfg and pdv_initcam, and checks for and reports error conditions as a result of the alloc.
int pdv_channel_initialized (int unit, int channel)
int pdv_initcam (EdtDev *pdv_p, Dependent *dd_p, int unit, Edtinfo *edtinfo, char *cfgfname, char *bitdir, int pdv_debug)
 Initializes the board and camera.
int pdv_initcam_load_bitfile (EdtDev *edt_p, Dependent *dd_p, int unit, char *bitdir, char *cfgfname)
int pdv_initcam_reset_camera (EdtDev *edt_p, Dependent *dd_p, Edtinfo *p_edtinfo)
void pdv_initcam_set_rci (EdtDev *edt_p, int rci_unit)
void propeller_sleep (int n)
int send_foi_commands (EdtDev *edt_p, char *str)
int send_xilinx_commands (EdtDev *edt_p, char *str)
int serial_init (EdtDev *edt_p, Dependent *dd_p)
int serial_init_basler_binary (EdtDev *edt_p, Dependent *dd_p)
int serial_init_binary (EdtDev *edt_p, Dependent *dd_p)
int serial_init_duncan_binary (EdtDev *edt_p, Dependent *dd_p)
char * serial_tx_rx (PdvDev *pdv_p, char *command, int hexin)
void setup_cl2_simulator (EdtDev *edt_p, Dependent *dd_p)
int specinst_download (EdtDev *edt_p, char *fname)
int specinst_setparams (EdtDev *edt_p, char *fname)
char * strip_crlf (char *str)
long stx_etx_str (u_char *buf, int n)

Variables

char scRetStr [256]


Generated on Mon May 12 16:39:05 2008 by  doxygen 1.5.1