Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
ni_mio_common.c File Reference
#include <linux/interrupt.h>
#include <linux/sched.h>
#include "8255.h"
#include "mite.h"
#include "comedi_fc.h"

Go to the source code of this file.

Data Structures

struct  caldac_struct
 

Macros

#define NI_TIMEOUT   1000
 
#define ni_mio_print_status_a(a)
 
#define ni_mio_print_status_b(a)
 
#define SERIAL_DISABLED   0
 
#define SERIAL_600NS   600
 
#define SERIAL_1_2US   1200
 
#define SERIAL_10US   10000
 
#define ao_win_out(data, addr)   ni_ao_win_outw(dev, data, addr)
 

Enumerations

enum  aimodes { AIMODE_NONE = 0, AIMODE_HALF_FULL = 1, AIMODE_SCAN = 2, AIMODE_SAMPLE = 3 }
 
enum  ni_common_subdevices {
  NI_AI_SUBDEV, NI_AO_SUBDEV, NI_DIO_SUBDEV, NI_8255_DIO_SUBDEV,
  NI_UNUSED_SUBDEV, NI_CALIBRATION_SUBDEV, NI_EEPROM_SUBDEV, NI_PFI_DIO_SUBDEV,
  NI_CS5529_CALIBRATION_SUBDEV, NI_SERIAL_SUBDEV, NI_RTSI_SUBDEV, NI_GPCT0_SUBDEV,
  NI_GPCT1_SUBDEV, NI_FREQ_OUT_SUBDEV, NI_NUM_SUBDEVICES
}
 
enum  timebase_nanoseconds { TIMEBASE_1_NS = 50, TIMEBASE_2_NS = 10000 }
 

Macro Definition Documentation

#define ao_win_out (   data,
  addr 
)    ni_ao_win_outw(dev, data, addr)

Definition at line 757 of file ni_mio_common.c.

#define ni_mio_print_status_a (   a)

Definition at line 281 of file ni_mio_common.c.

#define ni_mio_print_status_b (   a)

Definition at line 286 of file ni_mio_common.c.

#define NI_TIMEOUT   1000

Definition at line 75 of file ni_mio_common.c.

#define SERIAL_10US   10000

Definition at line 399 of file ni_mio_common.c.

#define SERIAL_1_2US   1200

Definition at line 398 of file ni_mio_common.c.

#define SERIAL_600NS   600

Definition at line 397 of file ni_mio_common.c.

#define SERIAL_DISABLED   0

Definition at line 396 of file ni_mio_common.c.

Enumeration Type Documentation

enum aimodes
Enumerator:
AIMODE_NONE 
AIMODE_HALF_FULL 
AIMODE_SCAN 
AIMODE_SAMPLE 

Definition at line 351 of file ni_mio_common.c.

Enumerator:
NI_AI_SUBDEV 
NI_AO_SUBDEV 
NI_DIO_SUBDEV 
NI_8255_DIO_SUBDEV 
NI_UNUSED_SUBDEV 
NI_CALIBRATION_SUBDEV 
NI_EEPROM_SUBDEV 
NI_PFI_DIO_SUBDEV 
NI_CS5529_CALIBRATION_SUBDEV 
NI_SERIAL_SUBDEV 
NI_RTSI_SUBDEV 
NI_GPCT0_SUBDEV 
NI_GPCT1_SUBDEV 
NI_FREQ_OUT_SUBDEV 
NI_NUM_SUBDEVICES 

Definition at line 358 of file ni_mio_common.c.

Enumerator:
TIMEBASE_1_NS 
TIMEBASE_2_NS 

Definition at line 391 of file ni_mio_common.c.