nidas  v1.2-1520
Public Attributes | List of all members
DMMAT_D2A_Conversion Struct Reference

Structure describing the linear relation of counts and D2A voltage. More...

#include <dmd_mmat.h>

Public Attributes

int vmin [MAX_DMMAT_D2A_OUTPUTS]
 
int vmax [MAX_DMMAT_D2A_OUTPUTS]
 
int cmin [MAX_DMMAT_D2A_OUTPUTS]
 
int cmax [MAX_DMMAT_D2A_OUTPUTS]
 

Detailed Description

Structure describing the linear relation of counts and D2A voltage.

User does an ioctl query to get this from the D2A, and uses it to compute a count for a desired voltage, and sets the output by passing an integer count value via an ioctl. Alas, floating point is too much to expect from a kernel module...

Member Data Documentation

int DMMAT_D2A_Conversion::cmax[MAX_DMMAT_D2A_OUTPUTS]

Referenced by getD2A_conv(), and DMD_MMAT_test::run().

int DMMAT_D2A_Conversion::cmin[MAX_DMMAT_D2A_OUTPUTS]

Referenced by getD2A_conv(), and DMD_MMAT_test::run().

int DMMAT_D2A_Conversion::vmax[MAX_DMMAT_D2A_OUTPUTS]
int DMMAT_D2A_Conversion::vmin[MAX_DMMAT_D2A_OUTPUTS]

The documentation for this struct was generated from the following file: