nidas  v1.2-1520
Classes | Macros
arinc.h File Reference
#include <nidas/linux/types.h>

Go to the source code of this file.

Classes

struct  arcfg_t
 ARINC label configuration structure. More...
 
struct  archn_t
 ARINC channel configuration structure. More...
 
struct  tt_data_t
 ARINC time tagged sample structure. More...
 
struct  dsm_arinc_status
 ARINC channel status. More...
 

Macros

#define LPB   256
 The CEI420a supports up to 512 labels per buffer for a given channel (265 when timetaged). More...
 
#define N_ARINC_RX   4
 number of transmitters and receivers for the CEI-420A-42 (-42 = -RT) More...
 
#define N_ARINC_TX   2
 
#define ARINC_MAGIC   'K'
 
#define ARINC_SET   _IOW(ARINC_MAGIC,0, arcfg_t)
 The enumeration of IOCTLs that this driver supports. More...
 
#define ARINC_OPEN   _IOW(ARINC_MAGIC,1, archn_t)
 
#define ARINC_BIT   _IOW(ARINC_MAGIC,2, short)
 
#define ARINC_STAT   _IOR(ARINC_MAGIC,3, dsm_arinc_status)
 
#define ARINC_IOC_MAXNR   3
 
#define AR_ODD   0 /* Used to set ODD parity */
 
#define AR_EVEN   1 /* Used to set EVEN parity */
 
#define AR_HIGH   0 /* Used to set HIGH speed (100 Kbaud) */
 
#define AR_LOW   1 /* Used to set LOW speed (12.5 Kbaud) */
 

Macro Definition Documentation

#define AR_EVEN   1 /* Used to set EVEN parity */
#define AR_HIGH   0 /* Used to set HIGH speed (100 Kbaud) */
#define AR_LOW   1 /* Used to set LOW speed (12.5 Kbaud) */
#define AR_ODD   0 /* Used to set ODD parity */
#define ARINC_BIT   _IOW(ARINC_MAGIC,2, short)

Referenced by arinc_ioctl().

#define ARINC_IOC_MAXNR   3

Referenced by arinc_ioctl().

#define ARINC_MAGIC   'K'

Referenced by arinc_ioctl().

#define ARINC_OPEN   _IOW(ARINC_MAGIC,1, archn_t)
#define ARINC_SET   _IOW(ARINC_MAGIC,0, arcfg_t)

The enumeration of IOCTLs that this driver supports.

Referenced by arinc_ioctl(), and nidas::dynld::raf::DSMArincSensor::open().

#define ARINC_STAT   _IOR(ARINC_MAGIC,3, dsm_arinc_status)
#define LPB   256

The CEI420a supports up to 512 labels per buffer for a given channel (265 when timetaged).

Referenced by arinc_ioctl(), arinc_open(), and arinc_sweep().

#define N_ARINC_RX   4

number of transmitters and receivers for the CEI-420A-42 (-42 = -RT)

Referenced by arinc_cleanup(), arinc_init(), arinc_ioctl(), arinc_open(), arinc_release(), and arinc_write().

#define N_ARINC_TX   2