mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
previous version moench added dacs
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@560 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -261,6 +261,7 @@ int cleanFifo(){
|
|||||||
printf("Cleaning FIFO\n");
|
printf("Cleaning FIFO\n");
|
||||||
addr=ADC_SYNC_REG;
|
addr=ADC_SYNC_REG;
|
||||||
|
|
||||||
|
|
||||||
reg = bus_r(addr) & CLEAN_FIFO_MASK;
|
reg = bus_r(addr) & CLEAN_FIFO_MASK;
|
||||||
|
|
||||||
//only for start up
|
//only for start up
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
#include "firmware_funcs.h"
|
#include "firmware_funcs.h"
|
||||||
#include "mcb_funcs.h"
|
#include "mcb_funcs.h"
|
||||||
|
|
||||||
|
|
||||||
/* global variables */
|
/* global variables */
|
||||||
#undef DEBUG
|
#undef DEBUG
|
||||||
#undef DEBUGOUT
|
#undef DEBUGOUT
|
||||||
|
@ -229,6 +229,7 @@
|
|||||||
#define EXT_RO_TRIG_OUT_FALLING 0xC
|
#define EXT_RO_TRIG_OUT_FALLING 0xC
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* for temperature register */
|
/* for temperature register */
|
||||||
#define T1_CLK_BIT 0x00000001
|
#define T1_CLK_BIT 0x00000001
|
||||||
#define T1_CS_BIT 0x00000002
|
#define T1_CS_BIT 0x00000002
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
#define CONTROL_REG 0x24<<11
|
#define CONTROL_REG 0x24<<11
|
||||||
// Global variables
|
// Global variables
|
||||||
|
|
||||||
|
|
||||||
int (*flist[256])(int);
|
int (*flist[256])(int);
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user