devLib2  2.12
Macros
vmedefs.h File Reference

Go to the source code of this file.

Macros

#define VME_AM_STD_SUP_BLT   0x3f
 
#define VME_AM_STD_SUP_ASCENDING   0x3f
 
#define VME_AM_STD_SUP_PGM   0x3e
 
#define VME_AM_STD_SUP_MBLT   0x3c
 
#define VME_AM_STD_USR_BLT   0x3b
 
#define VME_AM_STD_USR_ASCENDING   0x3b
 
#define VME_AM_STD_USR_PGM   0x3a
 
#define VME_AM_STD_SUP_DATA   0x3d
 
#define VME_AM_STD_USR_DATA   0x39
 
#define VME_AM_STD_USR_MBLT   0x38
 
#define VME_AM_EXT_SUP_BLT   0x0f
 
#define VME_AM_EXT_SUP_ASCENDING   0x0f
 
#define VME_AM_EXT_SUP_PGM   0x0e
 
#define VME_AM_EXT_SUP_DATA   0x0d
 
#define VME_AM_EXT_SUP_MBLT   0x0c
 
#define VME_AM_EXT_USR_BLT   0x0b
 
#define VME_AM_EXT_USR_ASCENDING   0x0b
 
#define VME_AM_EXT_USR_PGM   0x0a
 
#define VME_AM_EXT_USR_DATA   0x09
 
#define VME_AM_EXT_USR_MBLT   0x08
 
#define VME_AM_2eVME_6U   0x20
 
#define VME_AM_2eVME_3U   0x21
 
#define VME_AM_CSR   0x2f
 
#define VME_AM_SUP_SHORT_IO   0x2d
 
#define VME_AM_USR_SHORT_IO   0x29
 
#define VME_AM_IS_SHORT(a)   (((a) & 0x30) == 0x20)
 
#define VME_AM_IS_STD(a)   (((a) & 0x30) == 0x30)
 
#define VME_AM_IS_EXT(a)   (((a) & 0x30) == 0x00)
 
#define VME_AM_IS_SUP(a)   ((a) & 4)
 
#define VME_AM_MASK   0x3f
 
#define VME_AM_IS_MEMORY   (1<<8)
 
#define VME_AM_2eSST_BCST   (1<<9)
 
#define VME_AM_2eSST_LO   (1<<10)
 
#define VME_AM_2eSST_MID   (2<<10)
 
#define VME_AM_2eSST_HI   (3<<10)
 
#define VME_AM_IS_2eSST(am)   ((am) & (3<<10))
 
#define VME_MODE_DBW_MSK   (3<<12)
 
#define VME_MODE_DBW8   (1<<12)
 
#define VME_MODE_DBW16   (2<<12)
 
#define VME_MODE_DBW32   (3<<12)
 

Macro Definition Documentation

◆ VME_AM_2eSST_BCST

#define VME_AM_2eSST_BCST   (1<<9)

Definition at line 161 of file vmedefs.h.

◆ VME_AM_2eSST_HI

#define VME_AM_2eSST_HI   (3<<10)

Definition at line 167 of file vmedefs.h.

◆ VME_AM_2eSST_LO

#define VME_AM_2eSST_LO   (1<<10)

Definition at line 163 of file vmedefs.h.

◆ VME_AM_2eSST_MID

#define VME_AM_2eSST_MID   (2<<10)

Definition at line 165 of file vmedefs.h.

◆ VME_AM_2eVME_3U

#define VME_AM_2eVME_3U   0x21

Definition at line 117 of file vmedefs.h.

◆ VME_AM_2eVME_6U

#define VME_AM_2eVME_6U   0x20

Definition at line 114 of file vmedefs.h.

◆ VME_AM_CSR

#define VME_AM_CSR   0x2f

Definition at line 120 of file vmedefs.h.

◆ VME_AM_EXT_SUP_ASCENDING

#define VME_AM_EXT_SUP_ASCENDING   0x0f

Definition at line 87 of file vmedefs.h.

◆ VME_AM_EXT_SUP_BLT

#define VME_AM_EXT_SUP_BLT   0x0f

Definition at line 84 of file vmedefs.h.

◆ VME_AM_EXT_SUP_DATA

#define VME_AM_EXT_SUP_DATA   0x0d

Definition at line 93 of file vmedefs.h.

◆ VME_AM_EXT_SUP_MBLT

#define VME_AM_EXT_SUP_MBLT   0x0c

Definition at line 96 of file vmedefs.h.

◆ VME_AM_EXT_SUP_PGM

#define VME_AM_EXT_SUP_PGM   0x0e

Definition at line 90 of file vmedefs.h.

◆ VME_AM_EXT_USR_ASCENDING

#define VME_AM_EXT_USR_ASCENDING   0x0b

Definition at line 102 of file vmedefs.h.

◆ VME_AM_EXT_USR_BLT

#define VME_AM_EXT_USR_BLT   0x0b

Definition at line 99 of file vmedefs.h.

◆ VME_AM_EXT_USR_DATA

#define VME_AM_EXT_USR_DATA   0x09

Definition at line 108 of file vmedefs.h.

◆ VME_AM_EXT_USR_MBLT

#define VME_AM_EXT_USR_MBLT   0x08

Definition at line 111 of file vmedefs.h.

◆ VME_AM_EXT_USR_PGM

#define VME_AM_EXT_USR_PGM   0x0a

Definition at line 105 of file vmedefs.h.

◆ VME_AM_IS_2eSST

#define VME_AM_IS_2eSST (   am)    ((am) & (3<<10))

Definition at line 169 of file vmedefs.h.

◆ VME_AM_IS_EXT

#define VME_AM_IS_EXT (   a)    (((a) & 0x30) == 0x00)

Definition at line 135 of file vmedefs.h.

◆ VME_AM_IS_MEMORY

#define VME_AM_IS_MEMORY   (1<<8)

Definition at line 152 of file vmedefs.h.

◆ VME_AM_IS_SHORT

#define VME_AM_IS_SHORT (   a)    (((a) & 0x30) == 0x20)

Definition at line 129 of file vmedefs.h.

◆ VME_AM_IS_STD

#define VME_AM_IS_STD (   a)    (((a) & 0x30) == 0x30)

Definition at line 132 of file vmedefs.h.

◆ VME_AM_IS_SUP

#define VME_AM_IS_SUP (   a)    ((a) & 4)

Definition at line 138 of file vmedefs.h.

◆ VME_AM_MASK

#define VME_AM_MASK   0x3f

Definition at line 144 of file vmedefs.h.

◆ VME_AM_STD_SUP_ASCENDING

#define VME_AM_STD_SUP_ASCENDING   0x3f

Definition at line 57 of file vmedefs.h.

◆ VME_AM_STD_SUP_BLT

#define VME_AM_STD_SUP_BLT   0x3f

Definition at line 54 of file vmedefs.h.

◆ VME_AM_STD_SUP_DATA

#define VME_AM_STD_SUP_DATA   0x3d

Definition at line 75 of file vmedefs.h.

◆ VME_AM_STD_SUP_MBLT

#define VME_AM_STD_SUP_MBLT   0x3c

Definition at line 63 of file vmedefs.h.

◆ VME_AM_STD_SUP_PGM

#define VME_AM_STD_SUP_PGM   0x3e

Definition at line 60 of file vmedefs.h.

◆ VME_AM_STD_USR_ASCENDING

#define VME_AM_STD_USR_ASCENDING   0x3b

Definition at line 69 of file vmedefs.h.

◆ VME_AM_STD_USR_BLT

#define VME_AM_STD_USR_BLT   0x3b

Definition at line 66 of file vmedefs.h.

◆ VME_AM_STD_USR_DATA

#define VME_AM_STD_USR_DATA   0x39

Definition at line 78 of file vmedefs.h.

◆ VME_AM_STD_USR_MBLT

#define VME_AM_STD_USR_MBLT   0x38

Definition at line 81 of file vmedefs.h.

◆ VME_AM_STD_USR_PGM

#define VME_AM_STD_USR_PGM   0x3a

Definition at line 72 of file vmedefs.h.

◆ VME_AM_SUP_SHORT_IO

#define VME_AM_SUP_SHORT_IO   0x2d

Definition at line 123 of file vmedefs.h.

◆ VME_AM_USR_SHORT_IO

#define VME_AM_USR_SHORT_IO   0x29

Definition at line 126 of file vmedefs.h.

◆ VME_MODE_DBW16

#define VME_MODE_DBW16   (2<<12)

Definition at line 176 of file vmedefs.h.

◆ VME_MODE_DBW32

#define VME_MODE_DBW32   (3<<12)

Definition at line 177 of file vmedefs.h.

◆ VME_MODE_DBW8

#define VME_MODE_DBW8   (1<<12)

Definition at line 175 of file vmedefs.h.

◆ VME_MODE_DBW_MSK

#define VME_MODE_DBW_MSK   (3<<12)

Definition at line 174 of file vmedefs.h.