-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>
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);
-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>
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);