From 5706893a207409c458a5695480ff2dae4ff2a353 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Thu, 13 Jul 2006 12:45:26 +0000 Subject: [PATCH] Applied patch from David MacMahon . Add leading zeroes to subdevice flag values. --- doc/funcref | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/doc/funcref b/doc/funcref index da68656..7d6739c 100644 --- a/doc/funcref +++ b/doc/funcref @@ -242,7 +242,7 @@ Description: SDF_BUSY - 0x1 + 0x00000001 The subdevice is busy performing an asynchronous command. A subdevice being "busy" is slightly different from the "running" state flagged by SDF_RUNNING. A "running" subdevice is always "busy", but a "busy" subdevice is not necessarily "running". For example, suppose an @@ -252,87 +252,87 @@ Description: SDF_BUSY_OWNER - 0x2 + 0x00000002 The subdevice is "busy", and the command it is running was started by the current process. SDF_LOCKED - 0x4 + 0x00000004 The subdevice has been locked by comedi_lock(). SDF_LOCK_OWNER - 0x8 + 0x00000008 The subdevice is locked, and was locked by the current process. SDF_MAXDATA - 0x10 + 0x00000010 The maximum data value for the subdevice depends on the channel. SDF_FLAGS - 0x20 + 0x00000020 The subdevice flags depend on the channel (unfinished/broken support in library). SDF_RANGETYPE - 0x40 + 0x00000040 The range type depends on the channel. SDF_CMD - 0x1000 + 0x00001000 The subdevice supports asynchronous commands. SDF_READABLE - 0x10000 + 0x00010000 The subdevice can be read (e.g. analog input). SDF_WRITABLE - 0x20000 + 0x00020000 The subdevice can be written to (e.g. analog output). SDF_INTERNAL - 0x40000 + 0x00040000 The subdevice does not have externally visible lines. SDF_GROUND - 0x100000 + 0x00100000 The subdevice supports AREF_GROUND. SDF_COMMON - 0x200000 + 0x00200000 The subdevice supports AREF_COMMON. SDF_DIFF - 0x400000 + 0x00400000 The subdevice supports AREF_DIFF. SDF_OTHER - 0x800000 + 0x00800000 The subdevice supports AREF_OTHER SDF_DITHER - 0x1000000 + 0x01000000 The subdevice supports dithering (via the CR_ALT_FILTER chanspec flag). SDF_DEGLITCH - 0x2000000 + 0x02000000 The subdevice supports deglitching (via the CR_ALT_FILTER chanspec flag). SDF_RUNNING - 0x8000000 + 0x08000000 An asynchronous command is running. You can use this flag to poll for the completion of an output command. -- 2.26.2