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.


#define NO_MAIN
#define edt_swab32(x)


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...


EdtDev * edt_p
u_int tracebuf [EDT_TRACESIZE]
int curcount

Detailed Description

Jared R. Males

Definition in file EDTutils.c.

Macro Definition Documentation

#define edt_swab32 (   x)
((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.