From: Frank Mori Hess Date: Thu, 17 Mar 2005 17:27:12 +0000 (+0000) Subject: sync with comedi X-Git-Tag: v0_8_0~114 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=111541c2d37829d1fb9cbb513f70e2aeffdf028a;p=comedilib.git sync with comedi --- diff --git a/include/comedi.h b/include/comedi.h index 7ad60f9..90b5644 100644 --- a/include/comedi.h +++ b/include/comedi.h @@ -41,8 +41,14 @@ extern "C" { /* number of config options in the config structure */ #define COMEDI_NDEVCONFOPTS 32 -#define COMEDI_DEVCONF_AUX_DATA 30 -#define COMEDI_DEVCONF_AUX_DATA_LENGTH 31 +/*length of nth chunk of firmware data*/ +#define COMEDI_DEVCONF_AUX_DATA3_LENGTH 25 +#define COMEDI_DEVCONF_AUX_DATA2_LENGTH 26 +#define COMEDI_DEVCONF_AUX_DATA1_LENGTH 27 +#define COMEDI_DEVCONF_AUX_DATA0_LENGTH 28 +#define COMEDI_DEVCONF_AUX_DATA_HI 29 /*most significant 32 bits of pointer address (if needed)*/ +#define COMEDI_DEVCONF_AUX_DATA_LO 30 /*least significant 32 bits of pointer address*/ +#define COMEDI_DEVCONF_AUX_DATA_LENGTH 31 /* total data length */ /* max length of device and driver names */ #define COMEDI_NAMELEN 20 @@ -438,9 +444,12 @@ struct comedi_bufinfo_struct{ information about their use */ -#define GPCT_X1 0x01 // X1 encoding -#define GPCT_X2 0x02 // X2 encoding -#define GPCT_X4 0x04 // X3 encoding +// X1 encoding +#define GPCT_X1 0x01 +// X2 encoding +#define GPCT_X2 0x02 +// X3 encoding +#define GPCT_X4 0x04 // When to take into account the indexpulse: #define GPCT_IndexPhaseHighHigh 0 #define GPCT_IndexPhaseLowHigh 1