nidas  v1.2-1520
Classes | Macros
a2d.h File Reference
#include "short_filters.h"
#include <sys/ioctl.h>
#include <sys/types.h>

Go to the source code of this file.

Classes

struct  nidas_a2d_config
 Fields common to all A2D configurations. More...
 
struct  nidas_a2d_sample_config
 Information for configuring a sample from an A2D. More...
 

Macros

#define MAX_A2D_CHANNELS   32
 
#define NIDAS_A2D_IOC_MAGIC   'n'
 
#define NIDAS_A2D_GET_NCHAN   _IOR(NIDAS_A2D_IOC_MAGIC,0,int)
 
#define NIDAS_A2D_SET_CONFIG   _IOW(NIDAS_A2D_IOC_MAGIC,1,struct nidas_a2d_config)
 
#define NIDAS_A2D_CONFIG_SAMPLE   _IOW(NIDAS_A2D_IOC_MAGIC,2,struct nidas_a2d_sample_config)
 

Macro Definition Documentation

#define MAX_A2D_CHANNELS   32
#define NIDAS_A2D_CONFIG_SAMPLE   _IOW(NIDAS_A2D_IOC_MAGIC,2,struct nidas_a2d_sample_config)
#define NIDAS_A2D_GET_NCHAN   _IOR(NIDAS_A2D_IOC_MAGIC,0,int)
#define NIDAS_A2D_IOC_MAGIC   'n'

Referenced by dmmat_ioctl_a2d(), and dmmat_ioctl_d2d().

#define NIDAS_A2D_SET_CONFIG   _IOW(NIDAS_A2D_IOC_MAGIC,1,struct nidas_a2d_config)