nidas v1.2.3
Classes | Macros
lamsx.h File Reference
#include <nidas/linux/types.h>

Go to the source code of this file.

Classes

struct  lams_avg_sample
 
struct  lams_peak_sample
 
struct  lams_status
 
struct  lams_set
 not needed in new driver. More...
 

Macros

#define LAMS_SPECTRA_SIZE   512
 
#define LAMS_SPECAVG_SAMPLE_TYPE   0
 Enumeration of LAMS sample types.
 
#define LAMS_SPECPEAK_SAMPLE_TYPE   1
 
#define LAMS_MAGIC   'L'
 
#define LAMS_SET_CHN   _IOW(LAMS_MAGIC,0, struct lams_set)
 
#define LAMS_N_AVG   _IOW(LAMS_MAGIC,1, unsigned int)
 
#define LAMS_N_PEAKS   _IOW(LAMS_MAGIC,2, unsigned int)
 
#define LAMS_N_SKIP   _IOW(LAMS_MAGIC,3, unsigned int)
 
#define LAMS_GET_STATUS   _IOR(LAMS_MAGIC,4, struct lams_status)
 
#define LAMS_TAS_BELOW   _IO(LAMS_MAGIC,5)
 
#define LAMS_TAS_ABOVE   _IO(LAMS_MAGIC,6)
 
#define LAMS_IOC_MAXNR   6
 

Macro Definition Documentation

◆ LAMS_GET_STATUS

#define LAMS_GET_STATUS   _IOR(LAMS_MAGIC,4, struct lams_status)

◆ LAMS_IOC_MAXNR

#define LAMS_IOC_MAXNR   6

Referenced by lams_ioctl().

◆ LAMS_MAGIC

#define LAMS_MAGIC   'L'

Referenced by lams_ioctl().

◆ LAMS_N_AVG

#define LAMS_N_AVG   _IOW(LAMS_MAGIC,1, unsigned int)

◆ LAMS_N_PEAKS

#define LAMS_N_PEAKS   _IOW(LAMS_MAGIC,2, unsigned int)

◆ LAMS_N_SKIP

#define LAMS_N_SKIP   _IOW(LAMS_MAGIC,3, unsigned int)

◆ LAMS_SET_CHN

#define LAMS_SET_CHN   _IOW(LAMS_MAGIC,0, struct lams_set)

◆ LAMS_SPECAVG_SAMPLE_TYPE

#define LAMS_SPECAVG_SAMPLE_TYPE   0

Enumeration of LAMS sample types.

Referenced by lams_bottom_half(), lams_irq_handler(), and nidas::dynld::raf::LamsSensor::process().

◆ LAMS_SPECPEAK_SAMPLE_TYPE

#define LAMS_SPECPEAK_SAMPLE_TYPE   1

◆ LAMS_SPECTRA_SIZE

#define LAMS_SPECTRA_SIZE   512

◆ LAMS_TAS_ABOVE

#define LAMS_TAS_ABOVE   _IO(LAMS_MAGIC,6)

◆ LAMS_TAS_BELOW

#define LAMS_TAS_BELOW   _IO(LAMS_MAGIC,5)