initial implementation

This commit is contained in:
Erik Frojdh
2021-03-29 14:21:48 +02:00
parent 7c4f9ee044
commit 043d582616
17 changed files with 164 additions and 3 deletions

View File

@ -394,6 +394,16 @@ typedef struct {
*/
enum timingSourceType { TIMING_INTERNAL, TIMING_EXTERNAL };
//gain caps Mythen3
enum M3_GainCaps {
CSR_C10pre= 1<<7,
CSR_C15sh = 1<<10,
CSR_C30sh = 1<<11,
CSR_C50sh = 1<<12,
CSR_C225ACsh = 1<<13,
CSR_C15pre = 1<<14,
};
#ifdef __cplusplus
/** scan structure */
@ -625,6 +635,10 @@ typedef struct {
#endif
#ifdef __cplusplus
// TODO! discuss this
#include <vector> //hmm... but currently no way around
namespace sls {

View File

@ -222,6 +222,7 @@ enum detFuncs {
F_GET_ALL_THRESHOLD_ENERGY,
F_GET_MASTER,
F_GET_CSR,
F_SET_GAIN_CAPS,
NUM_DET_FUNCTIONS,
RECEIVER_ENUM_START = 256, /**< detector function should not exceed this