39 #ifndef NIDAS_LAMS_LAMSX_H
40 #define NIDAS_LAMS_LAMSX_H
48 #define LAMS_SPECTRA_SIZE 512
53 #define LAMS_SPECAVG_SAMPLE_TYPE 0
54 #define LAMS_SPECPEAK_SAMPLE_TYPE 1
104 #define LAMS_MAGIC 'L'
107 #define LAMS_SET_CHN _IOW(LAMS_MAGIC,0, struct lams_set) // not needed in new driver
108 #define LAMS_N_AVG _IOW(LAMS_MAGIC,1, unsigned int) // put navg and npeak in a struct
109 #define LAMS_N_PEAKS _IOW(LAMS_MAGIC,2, unsigned int)
110 #define LAMS_N_SKIP _IOW(LAMS_MAGIC,3, unsigned int)
111 #define LAMS_GET_STATUS _IOR(LAMS_MAGIC,4, struct lams_status)
112 #define LAMS_TAS_BELOW _IO(LAMS_MAGIC,5)
113 #define LAMS_TAS_ABOVE _IO(LAMS_MAGIC,6)
114 #define LAMS_IOC_MAXNR 6
116 #endif // NIDAS_LAMS_LAMSX_H
unsigned short data[LAMS_SPECTRA_SIZE]
Definition: lamsx.h:83
not needed in new driver.
Definition: lamsx.h:94
int dsm_sample_time_t
Depending on the module, either tenths of milliseconds, or milliseconds since 00:00 UTC today...
Definition: types.h:48
#define LAMS_SPECTRA_SIZE
Definition: lamsx.h:48
int channel
Definition: lamsx.h:95
unsigned int type
Definition: lamsx.h:82
unsigned int missedISRSamples
Definition: lamsx.h:89
unsigned int data[LAMS_SPECTRA_SIZE]
Definition: lamsx.h:77
unsigned int dsm_sample_length_t
length of data portion of sample.
Definition: types.h:51
unsigned int missedOutSamples
Definition: lamsx.h:90
unsigned int type
Definition: lamsx.h:76