nidas v1.2.3
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).
 
#define N_ARINC_RX   4
 number of transmitters and receivers for the CEI-420A-42 (-42 = -RT)
 
#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.
 
#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

◆ AR_EVEN

#define AR_EVEN   1 /* Used to set EVEN parity */

◆ AR_HIGH

#define AR_HIGH   0 /* Used to set HIGH speed (100 Kbaud) */

◆ AR_LOW

#define AR_LOW   1 /* Used to set LOW speed (12.5 Kbaud) */

◆ AR_ODD

#define AR_ODD   0 /* Used to set ODD parity */

◆ ARINC_BIT

#define ARINC_BIT   _IOW(ARINC_MAGIC,2, short)

◆ ARINC_IOC_MAXNR

#define ARINC_IOC_MAXNR   3

◆ ARINC_MAGIC

#define ARINC_MAGIC   'K'

◆ ARINC_OPEN

#define ARINC_OPEN   _IOW(ARINC_MAGIC,1, archn_t)

◆ ARINC_SET

#define ARINC_SET   _IOW(ARINC_MAGIC,0, arcfg_t)

The enumeration of IOCTLs that this driver supports.

Referenced by nidas::dynld::raf::DSMArincSensor::open().

◆ ARINC_STAT

#define ARINC_STAT   _IOR(ARINC_MAGIC,3, dsm_arinc_status)

◆ LPB

#define LPB   256

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

◆ N_ARINC_RX

#define N_ARINC_RX   4

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

◆ N_ARINC_TX

#define N_ARINC_TX   2