The VisAO Camera
EDTutils.c File Reference

Definitions for some utility functions pertaining to the EDT framegrabber PCI card. More...

#include "EDTutils.h"

Go to the source code of this file.

Macros

#define NO_MAIN
 
#define edt_swab32(x)
 

Functions

int initcam (const char *fname, const char *bdir)
 A local version of initcam. More...
 
void print_hex (u_char *buf, int count)
 
void print_ascii (char *buf)
 
int setdebug (const char *kbuff)
 A local version of setdebug. More...
 

Variables

EdtDev * edt_p
 
u_int tracebuf [EDT_TRACESIZE]
 
int curcount
 

Detailed Description

Author
Jared R. Males

Definition in file EDTutils.c.

Macro Definition Documentation

#define edt_swab32 (   x)
Value:
(\
((u_int)( \
(((u_int)(x) & (u_int)0x000000ffUL) << 24) | \
(((u_int)(x) & (u_int)0x0000ff00UL) << 8) | \
(((u_int)(x) & (u_int)0x00ff0000UL) >> 8) | \
(((u_int)(x) & (u_int)0xff000000UL) >> 24) )) \
)

Definition at line 331 of file EDTutils.c.

Function Documentation

int initcam ( const char *  fname,
const char *  bdir 
)

Just a copy of initcam.c, but with only fname for options

Definition at line 46 of file EDTutils.c.

Referenced by VisAO::CCD47Ctrl::load_EDT_config().

int setdebug ( const char *  kbuff)

Just a copy of setdebug.c, but with only the -k option

Definition at line 350 of file EDTutils.c.