]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authormuench <muench>
Thu, 3 Feb 2000 09:54:03 +0000 (09:54 +0000)
committermuench <muench>
Thu, 3 Feb 2000 09:54:03 +0000 (09:54 +0000)
hadaq/hwv775.c
hadaq/hwv878.c

index 87b521f9b83fdbf7dcfa3219f3679d7c756fffd8..731a7e28308986fb579f4c58ce69331df2606f33 100644 (file)
@@ -1,4 +1,4 @@
-static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwv775.c,v 1.7 1999-09-05 11:32:17 hades Exp $";
+static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwv775.c,v 1.8 2000-02-03 09:54:03 muench Exp $";
 
 #define _POSIX_C_SOURCE 199309L
 #include <unistd.h>
@@ -33,6 +33,7 @@ int conHwV775(HwV775 *my, const char *name, const Param *param)
                return -1;
        }
        LVme_setW(my->lvme, V775_RESET, 0);
+       /* clear data, don't change next 2 lines */
        LVme_setW(my->lvme, V775_BIT_SET_2, 0x0004);
        LVme_setW(my->lvme, V775_BIT_CLR_2, 0x0004);
        LVme_setW(my->lvme, V775_CTRL_REG_2, 0x0003);
index f1f4c5a74fd0cecf37d601e4b4f1e1fe1f2c0a84..9ba88f6dc9145459a75759833399fb53c2543157 100644 (file)
@@ -1,4 +1,4 @@
-static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwv878.c,v 1.5 1999-09-05 11:32:22 hades Exp $";
+static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwv878.c,v 1.6 2000-02-03 09:54:03 muench Exp $";
 
 #define _POSIX_C_SOURCE 199309L
 #include <unistd.h>
@@ -32,8 +32,10 @@ int conHwV878(HwV878 *my, const char *name, const Param *param)
                msglog(LOG_DEBUG, "%s:%d:%s\n", __FILE__, __LINE__, strerror(errno));
                return -1;
        }
+       /* reset, don't change next 2 lines */
        LVme_setW(my->lvme, V878_BIT_SET_1, 0x0080);
        LVme_setW(my->lvme, V878_BIT_CLR_1, 0x0080);
+       /* clear data, don't change next 2 lines */
        LVme_setW(my->lvme, V878_BIT_SET_2, 0x0004);
        LVme_setW(my->lvme, V878_BIT_CLR_2, 0x0004);
        LVme_setW(my->lvme, V878_BIT_SET_2, 0x9800);