Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

dmu.c File Reference


Detailed Description

Interact with DMU.

Author:
Author
jayhawk_hokie
Version:
Revision
1.4
Date:
Date
2007/08/02 23:53:42

Definition in file dmu.c.

#include "dmu.h"

Include dependency graph for dmu.c:

Include dependency graph

Go to the source code of this file.

Functions

int dmuInit (long maxBufferSize, int rate, int flags)
void * _daq (void *nada)
void polldmu (int sig)
int dmuReadData (adat_t **accData, int maxsets)

Variables

int dmufd
char * dmudata
char * cmd
float bias [7]
const float stepSize = ADCV_REF/4095.0
adat_tsh_attdat
int sh_nextw
int sh_nextr
long sh_serial
int rrate


Function Documentation

void* _daq void *  nada  ) 
 

Definition at line 70 of file dmu.c.

References bias, cmd, DMU_PORT, dmudata, dmufd, init_serial(), and polldmu().

Referenced by dmuInit().

int dmuInit long  maxBufferSize,
int  rate,
int  flags
 

Definition at line 39 of file dmu.c.

References _daq(), rrate, sh_attdat, sh_nextr, sh_nextw, and sh_serial.

Referenced by DMU::Initialize().

int dmuReadData adat_t **  accData,
int  maxsets
 

Definition at line 223 of file dmu.c.

References adat_t::deltat, sh_attdat, sh_nextr, adat_t::temp, adat_t::xaccel, adat_t::xrate, adat_t::yaccel, adat_t::yrate, adat_t::zaccel, and adat_t::zrate.

Referenced by DMU::GetDigitalReading().

void polldmu int  sig  ) 
 

Definition at line 133 of file dmu.c.

References ACC_SF, bias, cmd, adat_t::deltat, dmudata, dmufd, adat_t::serial, sh_attdat, sh_nextw, sh_serial, adat_t::temp, TEMP_SF, adat_t::xaccel, adat_t::xrate, adat_t::yaccel, adat_t::yrate, adat_t::zaccel, and adat_t::zrate.

Referenced by _daq().


Variable Documentation

float bias[7]
 

Definition at line 25 of file dmu.c.

Referenced by _daq(), and polldmu().

char* cmd
 

Definition at line 24 of file dmu.c.

Referenced by _daq(), and polldmu().

char* dmudata
 

Definition at line 23 of file dmu.c.

Referenced by _daq(), and polldmu().

int dmufd
 

Definition at line 22 of file dmu.c.

Referenced by _daq(), and polldmu().

int rrate
 

Definition at line 37 of file dmu.c.

Referenced by dmuInit().

adat_t* sh_attdat
 

Definition at line 34 of file dmu.c.

Referenced by dmuInit(), dmuReadData(), and polldmu().

int sh_nextr
 

Definition at line 35 of file dmu.c.

Referenced by dmuInit(), and dmuReadData().

int sh_nextw
 

Definition at line 35 of file dmu.c.

Referenced by dmuInit(), and polldmu().

long sh_serial
 

Definition at line 36 of file dmu.c.

Referenced by dmuInit(), and polldmu().

const float stepSize = ADCV_REF/4095.0
 

Definition at line 26 of file dmu.c.

Referenced by ChangePropagator().


Generated on Wed Sep 5 12:54:30 2007 for DSACSS Operational Code by  doxygen 1.3.9.1